https://github.com/adeelibr/pokeapi-scrapper
A scrapper to get data from the very famous https://pokeapi.co/
https://github.com/adeelibr/pokeapi-scrapper
mock-data mocks pokeapi-scrapper pokemon pokemon-api pokemons
Last synced: over 1 year ago
JSON representation
A scrapper to get data from the very famous https://pokeapi.co/
- Host: GitHub
- URL: https://github.com/adeelibr/pokeapi-scrapper
- Owner: adeelibr
- License: mit
- Created: 2020-02-28T16:36:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T16:46:47.000Z (over 6 years ago)
- Last Synced: 2025-01-19T08:26:55.296Z (over 1 year ago)
- Topics: mock-data, mocks, pokeapi-scrapper, pokemon, pokemon-api, pokemons
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pokeapi-scrapper
Inspired from the very famous [https://pokeapi.co/](https://pokeapi.co/) I have created a scrapper that gets a set of pokemon to a range data set.
I created this for a personal project for mocking some pokemon data, without having to have frequent network calls.
## Usage
- Clone the repo
- In your terminal `$ cd pokeapi-scrapper`
- In the root folder dir type `$ npm i`
- Then type `$ npm start`
- It will create a fresh bash of **50 pokemon** in the root folder by the name of **data.js**
- And that is it :) Have fun
## Advanced Usage
If you want to get more pokemon with the **pokeapi-scrapper** then do the following
`$ npm start -- --count 150`
This will get a data set of 150 pokemon
## Minimum requirements
Kindly ensure you use atleast the following versions;
- **Node** `v12.16.1`
- **npm** `6.13.4`
## Credits
A huge huge credit to the amazing folks at [https://github.com/PokeAPI/pokeapi](https://github.com/PokeAPI/pokeapi) for creating such an amazing service