nicholasess / internship-entria-challenge

For study, i wrote the challenge of Entria!

Home Page:https://github.com/entria/jobs/blob/master/internship/challenge.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repository about test Internship Entria

For study, i wrote the challenge of Entria, if you want to see project own, click here

Internship Challenge

  • choose one or more of these public APIs - https://github.com/toddmotto/public-apis.
  • create a simple command line interface to access this api (I recommend to use yargs)
  • it should use fetch to request data from an API
  • it should be open sourced on your github repo

Extras

  • configure babel
  • configure eslint
  • configure prettier
  • use async await
  • transform response to something more readable
  • configure and use flowtype
  • add tests

Install

npm install

Example of usage:

Allow sh file with chmod +x ./metaweather-cli.sh in Unix OS

./metaweather-cli --city "São Paulo"

[
  {
    "title": "São Paulo",
    "location_type": "City",
    "woeid": 455827,
    "latt_long": "-23.562880,-46.654659"
  }
]

Test

npm test

About

For study, i wrote the challenge of Entria!

https://github.com/entria/jobs/blob/master/internship/challenge.md


Languages

Language:JavaScript 98.9%Language:Shell 1.1%