Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/get-pokeball
Get pokeball information
https://github.com/bukinoshita/get-pokeball
javascript masterball nodejs pokeball pokemon safariball ultraball
Last synced: 8 days ago
JSON representation
Get pokeball information
- Host: GitHub
- URL: https://github.com/bukinoshita/get-pokeball
- Owner: bukinoshita
- License: mit
- Created: 2017-06-28T23:39:16.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T01:54:08.000Z (almost 2 years ago)
- Last Synced: 2024-12-14T00:06:16.021Z (15 days ago)
- Topics: javascript, masterball, nodejs, pokeball, pokemon, safariball, ultraball
- Language: TypeScript
- Homepage:
- Size: 593 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# get-pokeball [![Build Status](https://travis-ci.org/bukinoshita/get-pokeball.svg?branch=master)](https://travis-ci.org/bukinoshita/get-pokeball)
> Get pokeball information
## Install
```
$ yarn add get-pokeball
```## Usage
```js
import { getPokeball } from 'get-pokeball'getPokeball('ultraball')
/*
{
name: 'Ultra ball',
slug: 'ultraball',
price: {
buy: 1200,
sell: 600
},
value: {
f: 12,
d: 150
}
}
*/
```## API
### getPokeball(name)
#### name
Type: `string`
Options: [Pokeballs](https://github.com/bukinoshita/get-pokeball/blob/master/source/types.ts)
RequiredPokeball's name
## Related
- [pokemon-game](https://github.com/bukinoshita/pokemon-game) — Pokemon game — Get 'em all
- [pokedex-api](https://github.com/bukinoshita/pokedex-api) — Pokedex API
- [pokemon-catch-probability](https://github.com/bukinoshita/pokemon-catch-probability) — Check probabilty to catch a pokemon
- [catch-pokemon](https://github.com/bukinoshita/catch-pokemon) — Algorithm to catch a pokemon
- [pokeball-shake](https://github.com/bukinoshita/pokeball-shake) — Algorithm to determine how many times pokeball shakes
- [pokemon-capture-quote](https://github.com/bukinoshita/pokemon-capture-quote) — Pokemon capture quote
- [pokemon-f](https://github.com/bukinoshita/pokemon-f) — Algorithm to calculate `f` on capture pokemon method## License
MIT © [Bu Kinoshita](https://bukinoshita.com)