Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sportmonks

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sportmonks - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

6

package.json
{
"name": "sportmonks",
"version": "1.1.0",
"version": "1.2.0",
"description": "Sportmonks Soccer API",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"main": "dist/sportmonks.class.js",
"typings": "dist/sportmonks.class.d.ts",
"directories": {

@@ -8,0 +8,0 @@ "test": "dist/test"

@@ -8,5 +8,17 @@ # SportMonks Soccer API

# import
## ES6
```js
import { SportmonksApi } from 'sportmonks';
const sportmonks = new SportmonksApi(__YOUR_API_TOKEN__);
```
## CommonJS
```js
var SportmonksApi = require('sportmonks').SportmonksApi;
var sportmonks = new SportmonksApi(__YOUR_API_TOKEN__);
```
# usage
```js
var sportmonks = new Sportmonks(__YOUR_API_TOKEN__);
var sportmonks = new SportmonksApi(__YOUR_API_TOKEN__);

@@ -13,0 +25,0 @@ sportmonks.get(endpoint,params).then( function(resp){

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