Melon-Shake / API

2 stars 1 forks source link

여러 음악 플랫폼의 기능과 데이터 조사 후, 각자 기능을 담당함 #1

Closed iamyanghee closed 1 year ago

iamyanghee commented 1 year ago

오늘의 일정

계획했던 것

진행된 것

내일(8/22,화) 일정


기능 기획 회의안

https://web.goodnotes.com/s/cBN1CTTiCn7EkYLMiRjHzR#page-5

iamyanghee commented 1 year ago

우리가 사용할 수 있는 음악 스트리밍 서비스 API들이 뭐가 있을까?

@mews2000 님이 찾아온 무료 음악 api 들

https://rapidapi.com/blog/top-free-music-data-apis/ image

iamyanghee commented 1 year ago

Spotify

api 사용

특징, 장점

주요 endpoints

데이터셋

Lucete28 commented 1 year ago

Genius

'''import requests

url = "https://genius-song-lyrics1.p.rapidapi.com/search/"

querystring = {"q":"","per_page":"50","page":"1"}

headers = { "X-RapidAPI-Key": "334ca232a0mshbfa620fce48c586p1f83c7jsnfcf2ea690aab", "X-RapidAPI-Host": "genius-song-lyrics1.p.rapidapi.com" }

response = requests.get(url, headers=headers, params=querystring)

print(response.json()) '''

핵심

달에 500 request free 기준 시간별 차트 , 장르별, 가사

EndPoints

GET Search

columns

['_type', 'annotation_count', 'api_path', 'artist_names', 'full_title', 'header_image_thumbnail_url', 'header_image_url', 'id', 'instrumental', 'lyrics_owner_id', 'lyrics_state', 'lyrics_updated_at', 'path', 'pyongs_count', 'relationships_index_url', 'release_date_components', 'release_date_for_display', 'release_date_with_abbreviated_month_for_display', 'song_art_image_thumbnail_url', 'song_art_image_url', 'stats', 'title', 'title_with_featured', 'updated_by_human_at', 'url', 'featured_artists', 'primary_artist'] _type annotation_count api_path artist_names full_title header_image_thumbnail_url header_image_url id instrumental lyrics_owner_id lyrics_state lyrics_updated_at path pyongs_count relationships_index_url release_date_components release_date_for_display release_date_with_abbreviated_month_for_display song_art_image_thumbnail_url song_art_image_url stats title title_with_featured updated_by_human_at url featured_artists primary_artist
song 1 /songs/1326837 Matt Elliott Lone Gunman Required by Matt Elliott https://images.genius.com/d7368eb579b398a0a58996329a2d2e82.300x300x1.jpg https://images.genius.com/d7368eb579b398a0a58996329a2d2e82.400x400x1.jpg 1326837 False 1549345 complete 1429766152 /Matt-elliott-lone-gunman-required-lyrics nan https://genius.com/Matt-elliott-lone-gunman-required-sample {'year': 2006, 'month': 10, 'day': 23} October 23, 2006 Oct. 23, 2006 https://images.genius.com/d7368eb579b398a0a58996329a2d2e82.300x300x1.jpg https://images.genius.com/d7368eb579b398a0a58996329a2d2e82.400x400x1.jpg {'unreviewed_annotations': 0, 'hot': False} Lone Gunman Required Lone Gunman Required 1666603240 https://genius.com/Matt-elliott-lone-gunman-required-lyrics [] {'_type': 'artist', 'api_path': '/artists/367219', 'header_image_url': 'https://images.genius.com/78ed5ad35f2f8ef451e43e5acfc50483.465x465x1.jpg', 'id': 367219, 'image_url': 'https://images.genius.com/78ed5ad35f2f8ef451e43e5acfc50483.465x465x1.jpg', 'index_character': 'm', 'is_meme_verified': False, 'is_verified': False, 'name': 'Matt Elliott', 'slug': 'Matt-elliott', 'url': 'https://genius.com/artists/Matt-elliott'}

GET Leader board

dict_keys(['_type', 'attribution_value', 'pinned_role', 'user'])

_type attribution_value pinned_role user
user_attribution 6804.9 {'_type': 'user', 'about_me_summary': '', 'api_path': '/users/751711', 'avatar': {'tiny': {'url': 'https://images.genius.com/avatars/tiny/f183c97d84b0c1bb04007cdf224a8e06', 'bounding_box': {'width': 16, 'height': 16}}, 'thumb': {'url': 'https://images.genius.com/avatars/thumb/f183c97d84b0c1bb04007cdf224a8e06', 'bounding_box': {'width': 32, 'height': 32}}, 'small': {'url': 'https://images.genius.com/avatars/small/f183c97d84b0c1bb04007cdf224a8e06', 'bounding_box': {'width': 100, 'height': 100}}, 'medium': {'url': 'https://images.genius.com/avatars/medium/f183c97d84b0c1bb04007cdf224a8e06', 'bounding_box': {'width': 300, 'height': 400}}}, 'header_image_url': 'https://images.genius.com/50a09f9eaa784a458a81a2b7c7e893e3.500x500x1.jpg', 'human_readable_role_for_display': 'Moderator', 'id': 751711, 'iq': 1006941, 'is_meme_verified': False, 'is_verified': False, 'login': 'inkwi', 'name': 'Inkwi', 'role_for_display': 'moderator', 'url': 'https://genius.com/inkwi', 'current_user_metadata': {'permissions': [], 'excluded_permissions': ['follow'], 'interactions': {'following': False}}}

GET Chart:Songs

dict_keys(['_type', 'annotation_count', 'api_path', 'artist_names', 'full_title', 'header_image_thumbnail_url', 'header_image_url', 'id', 'instrumental', 'lyrics_owner_id', 'lyrics_state', 'lyrics_updated_at', 'path', 'pyongs_count', 'relationships_index_url', 'release_date_components', 'release_date_for_display', 'release_date_with_abbreviated_month_for_display', 'song_art_image_thumbnail_url', 'song_art_image_url', 'stats', 'title', 'title_with_featured', 'updated_by_human_at', 'url', 'featured_artists', 'primary_artist'])

_type annotation_count api_path artist_names full_title header_image_thumbnail_url header_image_url id instrumental lyrics_owner_id lyrics_state lyrics_updated_at path pyongs_count relationships_index_url release_date_components release_date_for_display release_date_with_abbreviated_month_for_display song_art_image_thumbnail_url song_art_image_url stats title title_with_featured updated_by_human_at url featured_artists primary_artist
song 13 /songs/9409784 Oliver Anthony Rich Men North of Richmond by Oliver Anthony https://images.genius.com/d818c744303ddf885799f7b9742ea05d.300x300x1.png https://images.genius.com/d818c744303ddf885799f7b9742ea05d.1000x1000x1.png 9409784 False 179936 complete 1692572059 /Oliver-anthony-rich-men-north-of-richmond-lyrics 2 https://genius.com/Oliver-anthony-rich-men-north-of-richmond-sample {'year': 2023, 'month': 8, 'day': 8} August 8, 2023 Aug. 8, 2023 https://images.genius.com/d818c744303ddf885799f7b9742ea05d.300x300x1.png https://images.genius.com/d818c744303ddf885799f7b9742ea05d.1000x1000x1.png {'unreviewed_annotations': 9, 'concurrents': 27, 'hot': False, 'pageviews': 429025} Rich Men North of Richmond Rich Men North of Richmond 1692576398 https://genius.com/Oliver-anthony-rich-men-north-of-richmond-lyrics [] {'_type': 'artist', 'api_path': '/artists/3626821', 'header_image_url': 'https://images.genius.com/0388650ccc155fa3c34453d5011c6774.320x320x1.jpg', 'id': 3626821, 'image_url': 'https://images.genius.com/0388650ccc155fa3c34453d5011c6774.320x320x1.jpg', 'index_character': 'o', 'is_meme_verified': False, 'is_verified': False, 'name': 'Oliver Anthony', 'slug': 'Oliver-anthony', 'url': 'https://genius.com/artists/Oliver-anthony'}
song 16 /songs/78966 Frank Ocean Bad Religion by Frank Ocean https://images.genius.com/5c8f128494b2bd41a18ebccad7e760cc.300x300x1.png https://images.genius.com/5c8f128494b2bd41a18ebccad7e760cc.1000x1000x1.png 78966 False 30932 complete 1692361411 /Frank-ocean-bad-religion-lyrics 184 https://genius.com/Frank-ocean-bad-religion-sample {'year': 2012, 'month': 7, 'day': 10} July 10, 2012 Jul. 10, 2012 https://images.genius.com/5c8f128494b2bd41a18ebccad7e760cc.300x300x1.png https://images.genius.com/5c8f128494b2bd41a18ebccad7e760cc.1000x1000x1.png {'unreviewed_annotations': 0, 'concurrents': 8, 'hot': False, 'pageviews': 1906188} Bad Religion Bad Religion 1692361456 https://genius.com/Frank-ocean-bad-religion-lyrics [] {'_type': 'artist', 'api_path': '/artists/1985', 'header_image_url': 'https://images.genius.com/31a4b0b89a988ed7fff5beb83808ab56.1000x562x1.jpg', 'id': 1985, 'image_url': 'https://images.genius.com/78a9a1403027e5778b473c71204b1ac0.728x728x1.jpg', 'index_character': 'f', 'is_meme_verified': True, 'is_verified': True, 'name': 'Frank Ocean', 'slug': 'Frank-ocean', 'url': 'https://genius.com/artists/Frank-ocean', 'iq': 7740}
song 35 /songs/207 Eminem Lose Yourself by Eminem https://images.genius.com/3d2eced2857919f7a8e66dd264d67c53.300x155x1.png https://images.genius.com/3d2eced2857919f7a8e66dd264d67c53.1000x516x1.png 207 False 8 complete 1692554138 /Eminem-lose-yourself-lyrics 1532 https://genius.com/Eminem-lose-yourself-sample {'year': 2002, 'month': 10, 'day': 28} October 28, 2002 Oct. 28, 2002 https://images.genius.com/ce61c1b2664c5952984e30f9b59f1346.300x300x1.png https://images.genius.com/ce61c1b2664c5952984e30f9b59f1346.1000x1000x1.png {'unreviewed_annotations': 1, 'concurrents': 33, 'hot': False, 'pageviews': 7791689} Lose Yourself Lose Yourself 1692554138 https://genius.com/Eminem-lose-yourself-lyrics [] {'_type': 'artist', 'api_path': '/artists/45', 'header_image_url': 'https://images.genius.com/7879bf220b8614a7fe4617006f132a92.1000x391x1.png', 'id': 45, 'image_url': 'https://images.genius.com/76c536a17ca35f7edd1f78e129609fe0.573x573x1.jpg', 'index_character': 'e', 'is_meme_verified': True, 'is_verified': True, 'name': 'Eminem', 'slug': 'Eminem', 'url': 'https://genius.com/artists/Eminem', 'iq': 261088}
song 6 /songs/9129965 Hozier De Selby (Part 1) by Hozier https://images.genius.com/898d42500730b75719ef66c43f67aefb.300x300x1.png https://images.genius.com/898d42500730b75719ef66c43f67aefb.1000x1000x1.png 9129965 False 15291991 complete 1692561984 /Hozier-de-selby-part-1-lyrics 1 https://genius.com/Hozier-de-selby-part-1-sample {'year': 2023, 'month': 8, 'day': 18} August 18, 2023 Aug. 18, 2023 https://images.genius.com/898d42500730b75719ef66c43f67aefb.300x300x1.png https://images.genius.com/898d42500730b75719ef66c43f67aefb.1000x1000x1.png {'unreviewed_annotations': 4, 'concurrents': 13, 'hot': False, 'pageviews': 94393} De Selby (Part 1) De Selby (Part 1) 1692561984 https://genius.com/Hozier-de-selby-part-1-lyrics [] {'_type': 'artist', 'api_path': '/artists/73910', 'header_image_url': 'https://images.genius.com/1d64c0e97aa12457fa57d9e57bff9728.1000x333x1.jpg', 'id': 73910, 'image_url': 'https://images.genius.com/538ee82e57b45daf13d57d82779a19c2.400x400x1.jpg', 'index_character': 'h', 'is_meme_verified': False, 'is_verified': True, 'name': 'Hozier', 'slug': 'Hozier', 'url': 'https://genius.com/artists/Hozier', 'iq': 1975}
song 13 /songs/9190309 Hozier I, Carrion (Icarian) by Hozier https://images.genius.com/898d42500730b75719ef66c43f67aefb.300x300x1.png https://images.genius.com/898d42500730b75719ef66c43f67aefb.1000x1000x1.png 9190309 False 7115412 complete 1692562111 /Hozier-i-carrion-icarian-lyrics nan https://genius.com/Hozier-i-carrion-icarian-sample {'year': 2023, 'month': 8, 'day': 18} August 18, 2023 Aug. 18, 2023 https://images.genius.com/898d42500730b75719ef66c43f67aefb.300x300x1.png https://images.genius.com/898d42500730b75719ef66c43f67aefb.1000x1000x1.png {'unreviewed_annotations': 11, 'concurrents': 20, 'hot': False, 'pageviews': 77917} I, Carrion (Icarian) I, Carrion (Icarian) 1692562111 https://genius.com/Hozier-i-carrion-icarian-lyrics [] {'_type': 'artist', 'api_path': '/artists/73910', 'header_image_url': 'https://images.genius.com/1d64c0e97aa12457fa57d9e57bff9728.1000x333x1.jpg', 'id': 73910, 'image_url': 'https://images.genius.com/538ee82e57b45daf13d57d82779a19c2.400x400x1.jpg', 'index_character': 'h', 'is_meme_verified': False, 'is_verified': True, 'name': 'Hozier', 'slug': 'Hozier', 'url': 'https://genius.com/artists/Hozier', 'iq': 1975}
song 23 /songs/9280345 Hozier First Time by Hozier https://images.genius.com/898d42500730b75719ef66c43f67aefb.300x300x1.png https://images.genius.com/898d42500730b75719ef66c43f67aefb.1000x1000x1.png 9280345 False 15291991 complete 1692459168 /Hozier-first-time-lyrics 1 https://genius.com/Hozier-first-time-sample {'year': 2023, 'month': 8, 'day': 18} August 18, 2023 Aug. 18, 2023 https://images.genius.com/898d42500730b75719ef66c43f67aefb.300x300x1.png https://images.genius.com/898d42500730b75719ef66c43f67aefb.1000x1000x1.png {'unreviewed_annotations': 20, 'concurrents': 22, 'hot': False, 'pageviews': 71651} First Time First Time 1692459168 https://genius.com/Hozier-first-time-lyrics [] {'_type': 'artist', 'api_path': '/artists/73910', 'header_image_url': 'https://images.genius.com/1d64c0e97aa12457fa57d9e57bff9728.1000x333x1.jpg', 'id': 73910, 'image_url': 'https://images.genius.com/538ee82e57b45daf13d57d82779a19c2.400x400x1.jpg', 'index_character': 'h', 'is_meme_verified': False, 'is_verified': True, 'name': 'Hozier', 'slug': 'Hozier', 'url': 'https://genius.com/artists/Hozier', 'iq': 1975}
song 47 /songs/811 Eminem Without Me by Eminem https://images.genius.com/3ab979343099b21ed1537b08d934fc3b.300x169x1.jpg https://images.genius.com/3ab979343099b21ed1537b08d934fc3b.1000x563x1.jpg 811 False 3 complete 1692317886 /Eminem-without-me-lyrics 438 https://genius.com/Eminem-without-me-sample {'year': 2002, 'month': 5, 'day': 14} May 14, 2002 May. 14, 2002 https://images.genius.com/43c0028d130e85df2c466f2075684dbe.300x300x1.png https://images.genius.com/43c0028d130e85df2c466f2075684dbe.1000x1000x1.png {'unreviewed_annotations': 0, 'concurrents': 15, 'hot': False, 'pageviews': 4296357} Without Me Without Me 1692317886 https://genius.com/Eminem-without-me-lyrics [] {'_type': 'artist', 'api_path': '/artists/45', 'header_image_url': 'https://images.genius.com/7879bf220b8614a7fe4617006f132a92.1000x391x1.png', 'id': 45, 'image_url': 'https://images.genius.com/76c536a17ca35f7edd1f78e129609fe0.573x573x1.jpg', 'index_character': 'e', 'is_meme_verified': True, 'is_verified': True, 'name': 'Eminem', 'slug': 'Eminem', 'url': 'https://genius.com/artists/Eminem', 'iq': 261088}
song 1 /songs/9196402 JIHYO Killin’ Me Good by JIHYO https://images.genius.com/5b34572540b76a033deb84a057f9209c.300x300x1.jpg https://images.genius.com/5b34572540b76a033deb84a057f9209c.1000x1000x1.jpg 9196402 False 17270590 complete 1692342893 /Jihyo-killin-me-good-lyrics nan https://genius.com/Jihyo-killin-me-good-sample {'year': 2023, 'month': 8, 'day': 18} August 18, 2023 Aug. 18, 2023 https://images.genius.com/5b34572540b76a033deb84a057f9209c.300x300x1.jpg https://images.genius.com/5b34572540b76a033deb84a057f9209c.1000x1000x1.jpg {'unreviewed_annotations': 1, 'concurrents': 3, 'hot': False, 'pageviews': 36350} Killin’ Me Good Killin’ Me Good 1692342893 https://genius.com/Jihyo-killin-me-good-lyrics [] {'_type': 'artist', 'api_path': '/artists/1440800', 'header_image_url': 'https://images.genius.com/958c9dbaae522be43b03afdccdf59243.1000x562x1.jpg', 'id': 1440800, 'image_url': 'https://images.genius.com/715181766383889d0c6a8834061bacb5.644x644x1.jpg', 'index_character': 'j', 'is_meme_verified': False, 'is_verified': False, 'name': 'JIHYO', 'slug': 'Jihyo', 'url': 'https://genius.com/artists/Jihyo'}
song 47 /songs/531 Eminem The Real Slim Shady by Eminem https://images.genius.com/04a1e57936ccd18351bb6c40c4be2cd6.300x176x1.jpg https://images.genius.com/04a1e57936ccd18351bb6c40c4be2cd6.650x382x1.jpg 531 False 16 complete 1689595736 /Eminem-the-real-slim-shady-lyrics 432 https://genius.com/Eminem-the-real-slim-shady-sample {'year': 2000, 'month': 4, 'day': 18} April 18, 2000 Apr. 18, 2000 https://images.genius.com/98154e522f245c3a4b77f2e0b035aa90.300x300x1.png https://images.genius.com/98154e522f245c3a4b77f2e0b035aa90.1000x1000x1.png {'unreviewed_annotations': 0, 'concurrents': 20, 'hot': False, 'pageviews': 4125798} The Real Slim Shady The Real Slim Shady 1689595736 https://genius.com/Eminem-the-real-slim-shady-lyrics [] {'_type': 'artist', 'api_path': '/artists/45', 'header_image_url': 'https://images.genius.com/7879bf220b8614a7fe4617006f132a92.1000x391x1.png', 'id': 45, 'image_url': 'https://images.genius.com/76c536a17ca35f7edd1f78e129609fe0.573x573x1.jpg', 'index_character': 'e', 'is_meme_verified': True, 'is_verified': True, 'name': 'Eminem', 'slug': 'Eminem', 'url': 'https://genius.com/artists/Eminem', 'iq': 261088}
song 14 /songs/9368459 Travis Scott (Ft. Playboi Carti) FE!N by Travis Scott (Ft. Playboi Carti) https://images.genius.com/93c577bcd2cce45a2e7063978bcb3b1a.300x300x1.png https://images.genius.com/93c577bcd2cce45a2e7063978bcb3b1a.1000x1000x1.png 9368459 False 9387139 complete 1692302207 /Travis-scott-fe-n-lyrics 31 https://genius.com/Travis-scott-fe-n-sample {'year': 2023, 'month': 7, 'day': 28} July 28, 2023 Jul. 28, 2023 https://images.genius.com/93c577bcd2cce45a2e7063978bcb3b1a.300x300x1.png https://images.genius.com/93c577bcd2cce45a2e7063978bcb3b1a.1000x1000x1.png {'unreviewed_annotations': 2, 'concurrents': 14, 'hot': False, 'pageviews': 986258} FE!N FE!N (Ft. Playboi Carti) 1692302207 https://genius.com/Travis-scott-fe-n-lyrics [{'_type': 'artist', 'api_path': '/artists/289976', 'header_image_url': 'https://images.genius.com/d9da964146617602999d235936e9146a.318x159x1.png', 'id': 289976, 'image_url': 'https://images.genius.com/988f153044ac8570914c1b42917d0db6.603x603x1.png', 'index_character': 'p', 'is_meme_verified': True, 'is_verified': True, 'name': 'Playboi Carti', 'slug': 'Playboi-carti', 'url': 'https://genius.com/artists/Playboi-carti', 'iq': 7203}] {'_type': 'artist', 'api_path': '/artists/20185', 'header_image_url': 'https://images.genius.com/77659552bac452cb5dee1ac1d68c62a9.480x288x24.gif', 'id': 20185, 'image_url': 'https://images.genius.com/5d19fecdb3828ca9ec89dda588e2eb7d.1000x1000x1.jpg', 'index_character': 't', 'is_meme_verified': True, 'is_verified': True, 'name': 'Travis Scott', 'slug': 'Travis-scott', 'url': 'https://genius.com/artists/Travis-scott', 'iq': 5833}
bksooon commented 1 year ago

TheAudioDB

DOCS

형식

Return Artist details from artist name search.php?s={Artist name} Example - theaudiodb.com/api/v1/json/2/search.php?s=coldplay *Limited to 'coldplay' test

Return all Album details from artist name searchalbum.php?s={Artist name} Example - theaudiodb.com/api/v1/json/{APIKEY}/searchalbum.php?s=daft_punkPatreon ONLY

Return single album details from artist + album name searchalbum.php?s={Artist name}&a={Album name} Example - theaudiodb.com/api/v1/json/{APIKEY}/searchalbum.php?s=daft_punk&a=HomeworkPatreon ONLY

Return track details from artist/track name searchtrack.php?s={Artist_Name}&t={Single_Name} Example - theaudiodb.com/api/v1/json/{APIKEY}/searchtrack.php?s=coldplay&t=yellowPatreon ONLY

Return Discography for an Artist with Album names and year only discography.php?s={Artist_Name} Example - theaudiodb.com/api/v1/json/{APIKEY}/discography.php?s=coldplay

Return Discography for an Artist with Album names and year only using known MBID discography-mb.php?s={Music_Brainz_Artist_ID} Patreon ONLY

mews2000 commented 1 year ago

Itunes Search API

Endpoint

image image image

key값

image

제한 없음. 로그인 필요 없음. txt 파일로 다운로드

bksooon commented 1 year ago

last.fm

DOCS

형식

API Methods album album.addTags album.getInfo album.getTags album.getTopTags album.removeTag album.search artist artist.addTags artist.getCorrection artist.getInfo artist.getSimilar artist.getTags artist.getTopAlbums artist.getTopTags artist.getTopTracks artist.removeTag artist.search auth auth.getMobileSession auth.getSession auth.getToken chart chart.getTopArtists chart.getTopTags chart.getTopTracks geo geo.getTopArtists geo.getTopTracks library library.getArtists tag tag.getInfo tag.getSimilar tag.getTopAlbums tag.getTopArtists tag.getTopTags tag.getTopTracks tag.getWeeklyChartList track track.addTags track.getCorrection track.getInfo track.getSimilar track.getTags track.getTopTags track.love track.removeTag track.scrobble track.search track.unlove track.updateNowPlaying user user.getFriends user.getInfo user.getLovedTracks user.getPersonalTags user.getRecentTracks user.getTopAlbums user.getTopArtists user.getTopTags user.getTopTracks user.getWeeklyAlbumChart user.getWeeklyArtistChart user.getWeeklyChartList user.getWeeklyTrackChart

json9101 commented 1 year ago

Shazam

shazam-events/list search auto-complete songs/v2/get-details songs/get-related-artist songs/get-count songs/list-recommendations

Artist

artists/get-details artists/get-top-songs artists/get-latest-release artists/get-summary

Chart

charts/list charts/track

Songs

shazam-songs/get-details shazam-songs/list-similarities

Album

albums/get-details albums/get-related-artist

제한

500곡 제한 1시간에 1000곡

image
jungssg commented 1 year ago

musixmatch

(가사 특화, 무료버전 매일2000회 요청, 유료는 가격확인필요)

https://developer.musixmatch.com/documentation/api-methods

스크린샷 2023-08-21 오전 11 52 47
json9101 commented 1 year ago

Deezer

Infos Radio Genre Search Playlist Artist Editorial Track Comment Album

iamyanghee commented 1 year ago

api 토의에서 덧붙이는 말들