wiki/_next/data/Ie9t5zutrXP6Of75Cb5xF/api.web.ccmixter.json

1 line
3.5 KiB
JSON
Raw Permalink Normal View History

2022-07-29 15:41:17 +00:00
{"pageProps":{"metadata":{"date":"\"2021-05-09 17:23:51 +08:00\"","date_modified":"\"2021-05-09 17:24:13 +08:00\"","language":"en","source":""},"title":"CCMixter web API","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Apparently, the website has an "},{"type":"element","tagName":"a","properties":{"href":"http://ccmixter.org/query-api"},"children":[{"type":"text","value":"API"}]},{"type":"text","value":" that can be accessed with HTTP.\nIt can also return the values in JSON.\n"}]},{"type":"element","tagName":"pre","properties":{"className":["src-block"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-sh"]},"children":[{"type":"text","value":"curl -L \"http://ccmixter.org/api/query?tags=chill,instrumental&sort=name&user=Mseq&format=json&limit=1\" | jq '.' -r\n"}]}]},{"type":"element","tagName":"div","properties":{"className":["exampe"]},"children":[{"type":"text","value":"[\n {\n \"upload_id\": 53960,\n \"upload_name\": \"Rooster\",\n \"upload_extra\": {\n \"usertags\": \"dnb,instrumental,male_vocals,electronic,drums,bass,synthesizer,experimental,chill,jazz,downtempo,trip_hop\",\n \"ccud\": \"media,remix,bpm_085_090\",\n \"systags\": \"non_commercial,audio,mp3,44k,stereo,CBR\",\n \"featuring\": \"Dj Vadim\",\n \"relative_dir\": \"content/Mseq\",\n \"bpm\": 85,\n \"nsfw\": false,\n \"num_reviews\": 1,\n \"last_op\": \"replace\"\n },\n \"user_name\": \"Mseq\",\n \"upload_tags\": \",media,remix,bpm_085_090,alternate,non_commercial,audio,mp3,44k,stereo,CBR,dnb,instrumental,male_vocals,electronic,drums,bass,synthesizer,experimental,chill,jazz,downtempo,trip_hop,\",\n \"upload_num_scores\": 7,\n \"file_page_url\": \"http://ccmixter.org/files/Mseq/53960\",\n \"user_real_name\": \"logos\",\n \"artist_page_url\": \"http://ccmixter.org/people/Mseq\",\n \"license_logo_url\": \"http://ccmixter.org/ccskins/shared/images/lics/small-by-nc-3.png\",\n \"license_url\": \"http://creativecommons.org/licenses/by-nc/3.0/\",\n \"license_name\": \"Attribution Noncommercial (3.0)\",\n \"upload_date_format\": \"Thu, Jun 2, 2016 @ 12:59 PM\",\n \"files\": [\n {\n \"file_id\": 85598,\n \"file_upload\": 53960,\n \"file_name\": \"Mseq_-_Rooster.mp3\",\n \"file_nicname\": \"mp3\",\n \"file_format_info\": {\n \"media-type\": \"audio\",\n \"format-name\": \"audio-mp3-mp3\",\n \"default-ext\": \"mp3\",\n \"mime_type\": \"audio/mpeg\",\n \"sr\": \"44k\",\n \"ch\": \"stereo\",\n \"ps\": \"2:55\",\n \"br\": \"CBR\"\n },\n \"file_extra\": {\n \"sha1\": \"LEYBOKEY63NRX5VAGAHKB66WKJGANSE4\",\n \"ccud\": \"alternate\",\n \"type\": \"alternate\"\n },\n \"file_filesize\": \" (6.70MB)\",\n \"file_order\": 0,\n \"file_is_remote\": 0,\n \"file_num_download\": 0,\n \"download_url\": \"http://ccmixter.org/content/Mseq/Mseq_-_Rooster.mp3\",\n \"local_path\": \"/var/www/ccmixter/content/Mseq/Mseq_-_Rooster.mp3\",\n \"file_rawsize\": 7020712\n }\n ],\n \"upload_description_plain\": \"Thanks to Dj Vadim!\",\n \"upload_description_html\": \"Thanks to Dj Vadim!\"\n }\n]\n"}]}]},"backlinks":[]},"__N_SSG":true}