New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kimono-worldcup-api-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kimono-worldcup-api-wrapper

World Cup API Wrapper

  • 0.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

kimono-worldcup-api-wrapper

npm API wrapper for Kimono World Cup API

Install

npm install kimono-worldcup-api-wrapper

Dependencies

- [q]: https://github.com/kriskowal/q-connection
- [querystring]: https://github.com/Gozala/querystring
- [request]: http://github.com/mikeal/request

Usage

//Include the package
var worldCup = require('kimono-worldcup-api-wrapper');

//Initialize with API Key
var worldCupApi = worldCup('*** Kimono API Key***');

worldCupApi.get.players().done(function(res){
	console.log(res);
});

Endpoints

Players

worldCupApi.get.Players(filters(optional))
	- Takes Optional filters (ie '{ sort : position }')
- Returns a promise with the API response
worldCupApi.get.players().done(function(res){
	console.log(res);
});

Player

worldCupApi.get.Player(id, filters(optional))
	- Required player ID
	- Takes Optional filters (ie '{ sort : position }')
- Returns a promise with the API response 
worldCupApi.get.player('** players ID**').done(function(res){
	console.log(res);
});

Teams

worldCupApi.get.Teams(filters(optional))
	- Takes Optional filters (ie '{ sort : position }')
- Returns a promise with the API response
worldCupApi.get.players().done(function(res){
	console.log(res);
});

Team

worldCupApi.get.Team(id, filters(optional))
	- Required Team ID
	- Takes Optional filters (ie '{ sort : position }')
- Returns a promise with the API response
worldCupApi.get.Teams().done(function(res){
	console.log(res);
});

Matches

worldCupApi.get.Matches(filters(optional))
	- Takes Optional filters (ie '{ sort : position }')
- Returns a promise with the API response

Match

worldCupApi.get.Match(id, filters(optional))
	- Required Match ID
	- Takes Optional filters (ie '{ sort : position }')
- Returns a promise with the API response

PlayerSeasonStats

worldCupApi.get.player_season_stats(id(optional), filters(optional))
	- Optional Player ID
	- Takes Optional filters (ie '{ sort : position }')
- Returns a promise with the API response

Filters

FAQs

Package last updated on 03 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc