{"id":18572761,"url":"https://github.com/truecodersio/apis-and-json-exercise","last_synced_at":"2025-04-09T18:22:55.361Z","repository":{"id":62322326,"uuid":"533574024","full_name":"truecodersio/APIs-and-JSON-Exercise","owner":"truecodersio","description":".NET 6.0 template project for the APIs and JSON exercise at TrueCoders","archived":false,"fork":false,"pushed_at":"2025-03-28T16:05:16.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":287,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T16:08:00.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truecodersio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-09-07T02:26:59.000Z","updated_at":"2025-03-28T16:05:25.000Z","dependencies_parsed_at":"2025-01-01T19:11:14.915Z","dependency_job_id":"d70a4d73-8220-411c-b968-42f75298a6d3","html_url":"https://github.com/truecodersio/APIs-and-JSON-Exercise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FAPIs-and-JSON-Exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FAPIs-and-JSON-Exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FAPIs-and-JSON-Exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FAPIs-and-JSON-Exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truecodersio","download_url":"https://codeload.github.com/truecodersio/APIs-and-JSON-Exercise/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085871,"owners_count":21045232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-06T23:07:11.392Z","updated_at":"2025-04-09T18:22:55.335Z","avatar_url":"https://github.com/truecodersio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Exercise1:\n\nLet’s create a console application that calls both the Ron Swanson API, and the Kanye West API. Using both APIs, make Ron Swanson and Kanye West have a conversation that prints to the console.\n\nHints:\nUse a for loop to generate at least 5 quotes from each api and have them alternate to simulate a conversation\n\nHere is some code to utilize for parsing the ron swanson response:\n```\nvar ronQuote = JArray.Parse(ronResponse).ToString().Replace('[', ' ').Replace(']', ' ').Trim();\n```\n\nHere are the API urls:\n\nhttps://ron-swanson-quotes.herokuapp.com/v2/quotes\n\nhttps://api.kanye.rest\n\n\nFINISHED Project:\nhttps://github.com/mvdoyle/KanyeAndRonSwanson\n\n## Exercise 2:\n\nUse the [OpenWeatherMap API](https://openweathermap.org/) to find out what the current weather forecast is!\n\nCreate an OpenWeatherMap account to get a free API Key\n\nAdd the NewtonSoft.Json Nuget Package to your Console App\n\nFigure out how to get the CURRENT weather for the City you specify in degrees fahrenheit\n\nUse this site for extra help:\n[https://openweathermap.org/current](https://openweathermap.org/current)\n\nCreatively display \u0026 organize the response\n\nHint: For more info on Units of Measurement visit:\n[https://openweathermap.org/current#data](https://openweathermap.org/current#data)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Fapis-and-json-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruecodersio%2Fapis-and-json-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Fapis-and-json-exercise/lists"}