├── .gitignore ├── package.json ├── README.md └── LICENCE.md /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pokemons", 3 | "version": "1.1.0", 4 | "description": "Full JSON file with every Pokémon basic info. Useful for prototyping.", 5 | "main": "pokemons.json", 6 | "repository": "joseluisq/pokemons", 7 | "license": "MIT", 8 | "author": { 9 | "name": "José Luis Quintana", 10 | "url": "http://git.io/joseluisq" 11 | }, 12 | "files": [ 13 | "pokemons.json", 14 | "README.md", 15 | "LICENSE.md" 16 | ], 17 | "scripts": { 18 | "test": "echo \"Error: no test specified\" && exit 0" 19 | }, 20 | "keywords": [ 21 | "pokemon", 22 | "pokeapi", 23 | "pokemons" 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Pokémons 2 | 3 | > Full JSON file with every Pokémon basic info. Useful for prototyping. 4 | 5 | _Inspirated by [Pokemondb](https://pokemondb.net/pokedex/all)_ 6 | 7 | ## Install 8 | 9 | [Yarn](https://github.com/yarnpkg/) 10 | 11 | ```sh 12 | yarn add pokemons 13 | ``` 14 | 15 | [NPM](https://www.npmjs.com/) 16 | 17 | ```sh 18 | npm install pokemons 19 | ``` 20 | 21 | ## API 22 | 23 | __URL:__ 24 | 25 | - `https://unpkg.com/pokemons` 26 | - `https://unpkg.com/pokemons/pokemons.json` 27 | 28 | _This JSON file is available via [unpkg](https://unpkg.com)._ 29 | 30 | __Data:__ 31 | 32 | The JSON file contains an array of Pokémons. 33 | 34 | ```js 35 | { 36 | "name": "Venusaur", 37 | "type": [ 38 | "Grass", 39 | "Poison" 40 | ], 41 | "national_number": "003", 42 | "evolution": { 43 | "name": "Mega Venusaur" 44 | }, 45 | "sprites": { 46 | "normal": "https://img.pokemondb.net/sprites/omega-ruby-alpha-sapphire/dex/normal/venusaur.png", 47 | "large": "https://img.pokemondb.net/artwork/venusaur.jpg", 48 | "animated": "https://img.pokemondb.net/sprites/black-white/anim/normal/venusaur.gif" 49 | }, 50 | "total": 625, 51 | "hp": 80, 52 | "attack": 100, 53 | "defense": 123, 54 | "sp_atk": 122, 55 | "sp_def": 120, 56 | "speed": 80 57 | } 58 | ``` 59 | 60 | ## Contributions 61 | 62 | Feel free to send some [Pull request](https://github.com/joseluisq/pokemons/pulls) or [issue](https://github.com/joseluisq/pokemons/issues). 63 | 64 | ## License 65 | MIT license 66 | 67 | © 2018 [José Luis Quintana](http://git.io/joseluisq) 68 | -------------------------------------------------------------------------------- /LICENCE.md: -------------------------------------------------------------------------------- 1 | All image contents within are Copyright The Pokémon Company. 2 | 3 | This repository is distributed under CC0 1.0 Universal 4 | 5 | Statement of Purpose 6 | 7 | The laws of most jurisdictions throughout the world automatically confer 8 | exclusive Copyright and Related Rights (defined below) upon the creator and 9 | subsequent owner(s) (each and all, an "owner") of an original work of 10 | authorship and/or a database (each, a "Work"). 11 | 12 | Certain owners wish to permanently relinquish those rights to a Work for the 13 | purpose of contributing to a commons of creative, cultural and scientific 14 | works ("Commons") that the public can reliably and without fear of later 15 | claims of infringement build upon, modify, incorporate in other works, reuse 16 | and redistribute as freely as possible in any form whatsoever and for any 17 | purposes, including without limitation commercial purposes. These owners may 18 | contribute to the Commons to promote the ideal of a free culture and the 19 | further production of creative, cultural and scientific works, or to gain 20 | reputation or greater distribution for their Work in part through the use and 21 | efforts of others. 22 | 23 | For these and/or other purposes and motivations, and without any expectation 24 | of additional consideration or compensation, the person associating CC0 with a 25 | Work (the "Affirmer"), to the extent that he or she is an owner of Copyright 26 | and Related Rights in the Work, voluntarily elects to apply CC0 to the Work 27 | and publicly distribute the Work under its terms, with knowledge of his or her 28 | Copyright and Related Rights in the Work and the meaning and intended legal 29 | effect of CC0 on those rights. 30 | 31 | 1. Copyright and Related Rights. A Work made available under CC0 may be 32 | protected by copyright and related or neighboring rights ("Copyright and 33 | Related Rights"). Copyright and Related Rights include, but are not limited 34 | to, the following: 35 | 36 | i. the right to reproduce, adapt, distribute, perform, display, communicate, 37 | and translate a Work; 38 | 39 | ii. moral rights retained by the original author(s) and/or performer(s); 40 | 41 | iii. publicity and privacy rights pertaining to a person's image or likeness 42 | depicted in a Work; 43 | 44 | iv. rights protecting against unfair competition in regards to a Work, 45 | subject to the limitations in paragraph 4(a), below; 46 | 47 | v. rights protecting the extraction, dissemination, use and reuse of data in 48 | a Work; 49 | 50 | vi. database rights (such as those arising under Directive 96/9/EC of the 51 | European Parliament and of the Council of 11 March 1996 on the legal 52 | protection of databases, and under any national implementation thereof, 53 | including any amended or successor version of such directive); and 54 | 55 | vii. other similar, equivalent or corresponding rights throughout the world 56 | based on applicable law or treaty, and any national implementations thereof. 57 | 58 | 2. Waiver. To the greatest extent permitted by, but not in contravention of, 59 | applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and 60 | unconditionally waives, abandons, and surrenders all of Affirmer's Copyright 61 | and Related Rights and associated claims and causes of action, whether now 62 | known or unknown (including existing as well as future claims and causes of 63 | action), in the Work (i) in all territories worldwide, (ii) for the maximum 64 | duration provided by applicable law or treaty (including future time 65 | extensions), (iii) in any current or future medium and for any number of 66 | copies, and (iv) for any purpose whatsoever, including without limitation 67 | commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes 68 | the Waiver for the benefit of each member of the public at large and to the 69 | detriment of Affirmer's heirs and successors, fully intending that such Waiver 70 | shall not be subject to revocation, rescission, cancellation, termination, or 71 | any other legal or equitable action to disrupt the quiet enjoyment of the Work 72 | by the public as contemplated by Affirmer's express Statement of Purpose. 73 | 74 | 3. Public License Fallback. Should any part of the Waiver for any reason be 75 | judged legally invalid or ineffective under applicable law, then the Waiver 76 | shall be preserved to the maximum extent permitted taking into account 77 | Affirmer's express Statement of Purpose. In addition, to the extent the Waiver 78 | is so judged Affirmer hereby grants to each affected person a royalty-free, 79 | non transferable, non sublicensable, non exclusive, irrevocable and 80 | unconditional license to exercise Affirmer's Copyright and Related Rights in 81 | the Work (i) in all territories worldwide, (ii) for the maximum duration 82 | provided by applicable law or treaty (including future time extensions), (iii) 83 | in any current or future medium and for any number of copies, and (iv) for any 84 | purpose whatsoever, including without limitation commercial, advertising or 85 | promotional purposes (the "License"). The License shall be deemed effective as 86 | of the date CC0 was applied by Affirmer to the Work. Should any part of the 87 | License for any reason be judged legally invalid or ineffective under 88 | applicable law, such partial invalidity or ineffectiveness shall not 89 | invalidate the remainder of the License, and in such case Affirmer hereby 90 | affirms that he or she will not (i) exercise any of his or her remaining 91 | Copyright and Related Rights in the Work or (ii) assert any associated claims 92 | and causes of action with respect to the Work, in either case contrary to 93 | Affirmer's express Statement of Purpose. 94 | 95 | 4. Limitations and Disclaimers. 96 | 97 | a. No trademark or patent rights held by Affirmer are waived, abandoned, 98 | surrendered, licensed or otherwise affected by this document. 99 | 100 | b. Affirmer offers the Work as-is and makes no representations or warranties 101 | of any kind concerning the Work, express, implied, statutory or otherwise, 102 | including without limitation warranties of title, merchantability, fitness 103 | for a particular purpose, non infringement, or the absence of latent or 104 | other defects, accuracy, or the present or absence of errors, whether or not 105 | discoverable, all to the greatest extent permissible under applicable law. 106 | 107 | c. Affirmer disclaims responsibility for clearing rights of other persons 108 | that may apply to the Work or any use thereof, including without limitation 109 | any person's Copyright and Related Rights in the Work. Further, Affirmer 110 | disclaims responsibility for obtaining any necessary consents, permissions 111 | or other rights required for any use of the Work. 112 | 113 | d. Affirmer understands and acknowledges that Creative Commons is not a 114 | party to this document and has no duty or obligation with respect to this 115 | CC0 or use of the Work. 116 | 117 | For more information, please see 118 | 119 | --------------------------------------------------------------------------------