{"id":15448840,"url":"https://github.com/johncorderox/amy-winehouse-api","last_synced_at":"2026-01-19T13:32:55.825Z","repository":{"id":40011612,"uuid":"141517061","full_name":"johncorderox/Amy-Winehouse-API","owner":"johncorderox","description":" 🔁 Create an API token \u0026 start making requests instantly! A React JS frontend is included for a GUI demonstration. 💻","archived":false,"fork":false,"pushed_at":"2023-03-08T22:28:44.000Z","size":35046,"stargazers_count":2,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T17:51:54.909Z","etag":null,"topics":["albums","amy","api","music","rails","rails-api","react","reactjs","restful","ruby","songs","winehouse"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johncorderox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-19T02:58:55.000Z","updated_at":"2021-10-01T07:45:03.000Z","dependencies_parsed_at":"2024-12-11T17:10:58.580Z","dependency_job_id":"ec4c8cf1-9447-4e19-a07d-3702a0836c49","html_url":"https://github.com/johncorderox/Amy-Winehouse-API","commit_stats":{"total_commits":126,"total_committers":3,"mean_commits":42.0,"dds":"0.39682539682539686","last_synced_commit":"00b139d65a041586524a0a300e9e9d8f1025e53c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/johncorderox/Amy-Winehouse-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncorderox%2FAmy-Winehouse-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncorderox%2FAmy-Winehouse-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncorderox%2FAmy-Winehouse-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncorderox%2FAmy-Winehouse-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johncorderox","download_url":"https://codeload.github.com/johncorderox/Amy-Winehouse-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncorderox%2FAmy-Winehouse-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28569226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["albums","amy","api","music","rails","rails-api","react","reactjs","restful","ruby","songs","winehouse"],"created_at":"2024-10-01T20:40:24.734Z","updated_at":"2026-01-19T13:32:55.806Z","avatar_url":"https://github.com/johncorderox.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Amy Winehouse API ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/johncorderox/Amy-Winehouse-API?style=flat-square) ![GitHub closed issues](https://img.shields.io/github/issues-closed/johncorderox/Amy-Winehouse-API?style=flat-square) ![GitHub last commit](https://img.shields.io/github/last-commit/johncorderox/Amy-Winehouse-API?style=flat-square) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/johncorderox/Amy-Winehouse-API?style=flat-square)\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"/readme.png\" width=\"250\" title=\"hover text\"\u003e\n\u003c/p\u003e\n\n\nThis project was a self-made API since I truly love the music of Amy. The API can call record labels, songs, albums, and active members for the band. Not only was the project pushed myself to learn more about RESTful development, it also makes other programmers who lover her music the ability to collaborate.\n\n## Prerequisites\nBefore you begin, ensure you have met the following requirements:\n- Ruby 2.6.4\n- A mac OSX machine (Mojave 10.15.7+) OR Ubuntu (16.04+)\n\n## Installing\nInstalling the API locally is easy. You can clone the repo to your desired destination:\n\n```bash\n cd ~/Desktop \u0026\u0026 git clone https://github.com/johncorderox/Amy-Winehouse-API.git \u0026\u0026 cd bundle install \u0026\u0026 rails db:drop \u0026\u0026 rails db:create \u0026\u0026 rails db:migrate \u0026\u0026 rails db:seed \u0026\u0026 rails s\n```\n\n## Requesting Data from the API\nUnless requested, all information requested will be returned in the JSON format.\n\n```bash\nGET\n$ curl -H \"X-Api-Key: YOUR_API_KEY_HERE\" http://localhost:3000/api/v1/artists/1 | json_pp\n```\n### Sample Response\n\n``` javascript\n{\n  id: 1,\n  name: \"Amy Winehouse\",\n  date_of_birth: \"September 14, 1983\",\n  date_of_death: \"July 23, 2011\",\n  bio: \"Much can be said about the late Amy Winehouse, one of the U.K.'s flagship vocalists during the 2000s. The British press and tabloids seemed to focus on her rowdy behavior, heavy consumption of alcohol, and tragic end, but fans and critics alike embraced her rugged charm, brash sense of humor, and distinctively soulful and jazzy vocals. Her platinum-selling breakthrough album, Frank (2003), elicited comparisons ranging from Billie Holiday and Sarah Vaughan to Macy Gray and Lauryn Hill. Interestingly enough, despite her strong accent and vernacular, one can often hear aspects of each of those singers' vocal repertoires in Winehouse's own voice. Nonetheless, her allure had always been her songwriting -- almost always deeply personal but best known for its profanity and brutal candor.\",\n  cause_of_death: \"Alcohol Poisoning\",\n  education: \"Sylvia Young Theatre School\",\n  website: \"https://www.amywinehouse.com/\",\n  press_photo: \"/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--52bcdcc7cdf03a5dff567e1e9cba592d859fb170/press.png\",\n  signature: \"/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--65d28fd11fcd10c85a769833e0fbe01e9effd123/signature.png\",\n  quotes: [],\n  albums: [],\n  songs: []\n}\n```\n\n\u003cbr\u003e\n\n## API open endpoints\n\nThe AW-API contains mostly nested routes when using an API Key. You may consult the `root controller` of the API to determine proper data retrieval.\n\n```ruby\ninformation = {\n  artist: \"/api/v1/artists/(.:format(:id))\",\n  albums: \"/api/v1/artists/(.:format(:id)/albums\",\n  songs: \"/api/v1/artists/(.:format(:id)/albums/(.:format(:id)/songs\",\n  record_labels: \"/api/v1/artists/(.:format(:id)/albums/(.:format(:id)/record_labels\",\n  quotes: \"/api/v1/artists/(.:format(:id)/quotes\",\n  messages: \"/api/v1/messages\"\n}\n```\n\u003cbr\u003e\n\n| HTTP method | URI path              | Description                           |\n|-------------|-----------------------|---------------------------------------|\n| GET         | /artists/:id          | Retrieves Artist information          |\n| GET         | /albums               | Retrieves Album information           |\n| GET         | /songs                | Retrieves/Creates Song information    |\n| GET         | /quotes               | Retrieves/Creates Artist Quotes       |\n| GET         | /labels               | Retrieves Record Labels               |\n| GET         | /messages             | Retrieves Messages                    |\n\nContributing\n------------\nIn general, we follow the \"fork-and-pull\" Git workflow.\n\n 1. **Fork** the repo on GitHub\n 2. **Clone** the project to your own machine\n 3. **Commit** changes to your own branch\n 4. **Push** your work back up to your fork\n 5. Submit a **Pull request** so that we can review your changes\n\nNOTE: Be sure to tag @johncorderox so I can get notified for pull requests!\n\n## LICENSE\n```\nBSD 2-Clause License\n\nCopyright (c) 2021, John Cordero\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n   ```\n\n## Author\n\n**John Cordero** © [johncorderox](https://johncorderox.com), Released under the [MIT](./LICENSE) License.\u003cbr\u003e\n\n\u003e Blog [@jc](https://johncorderox.com) · GitHub [@johncorderox](https://github.com/metowolf) ·\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohncorderox%2Famy-winehouse-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohncorderox%2Famy-winehouse-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohncorderox%2Famy-winehouse-api/lists"}