joemon
Joémon: the Node.js pokeapi.co v2 wrapper
Last updated 4 years ago by dualmoon .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install joemon 
SYNC missed versions from official npm registry.

Joémon

My Rattata is in the top percent.

This is a package that wraps around the Pokemon API v2 at http://pokeapi.co/

Example usage:

Pokémon = require 'joemon'
poké = new Pokémon()

poké.getPokemon 'bulbasaur', (status, bulbasaur) ->
	console.log bulbasaur.types

This will output:

[
	{ 
		slot: 2,
		type: {
			url: 'http://pokeapi.co/api/v2/type/4/',
			name: 'poison'
		}
	},
	{ 
		slot: 1,
		type: {
			url: 'http://pokeapi.co/api/v2/type/12/',
			name: 'grass'
		}
	}
]

See joemon.coffee for more documentation.

Current Tags

  • 2.2.0                                ...           latest (4 years ago)

9 Versions

  • 2.2.0                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 6
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |