{"id":19658429,"url":"https://github.com/iphytech/country-info","last_synced_at":"2026-05-07T02:32:10.529Z","repository":{"id":42166484,"uuid":"219419220","full_name":"Iphytech/country-info","owner":"Iphytech","description":"A simple web app that populate data of any given country","archived":false,"fork":false,"pushed_at":"2023-01-19T15:39:54.000Z","size":56,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T00:59:58.657Z","etag":null,"topics":["restful-api","ruby","ruby-on-rails","rubygem"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/Iphytech.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}},"created_at":"2019-11-04T04:46:25.000Z","updated_at":"2023-01-31T17:40:56.000Z","dependencies_parsed_at":"2023-01-28T20:15:51.164Z","dependency_job_id":null,"html_url":"https://github.com/Iphytech/country-info","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/Iphytech%2Fcountry-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fcountry-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fcountry-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fcountry-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Iphytech","download_url":"https://codeload.github.com/Iphytech/country-info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240965923,"owners_count":19885987,"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":["restful-api","ruby","ruby-on-rails","rubygem"],"created_at":"2024-11-11T15:37:34.254Z","updated_at":"2026-05-07T02:32:10.488Z","avatar_url":"https://github.com/Iphytech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to use\n\nClone the repo `https://github.com/Iphytech/country-info.git` to your computer\n\nchange to the project directory\n\nNB: There is no database (because we ain't going to make use of it).\n\ngo to the terminal and run `bundle or bundle install`\n\nWe are making use of `excon` for the restful api calls - Read more about it here (https://github.com/excon/excon)\nAnd we are consuming data from `Rapid APi endpoint`\n\nFor yuou to be able to use it, you have to signup on their website https://rapidapi.com/ and get the api key\n\nWe are going to use `Figaro gem` to save our credentials -  See the documentation (https://github.com/laserlemon/figaro)\n\nTo use it \n\nGot to the terminal and run `bundle exec figaro install`, This creates a commented config/application.yml file and adds it to your .gitignore. Add your own configuration to this file and you're done!\n\nGo inside the application.yml file and add your rapudapi key like this\n\n```ruby\napi_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n\n\nStart the project and test what we have built\n```bash\nrails s or rails server\n```\n\nIf you want to see the full response returned \n\nGo to your controller in the search action  and add this\n\n```ruby\n render :json =\u003e  @country\n \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiphytech%2Fcountry-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiphytech%2Fcountry-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiphytech%2Fcountry-info/lists"}