1.1.8 • Published 4 years ago

fetch-store-json v1.1.8

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

fetch-store-json

npm v1.1.8

This package lets you fetch data from an API and store it into a file in JSON format

Installing

Using npm:

npm install fetch-store-json

Using yarn:

yarn add fetch-store-json

Inputs

You need to provide 7 inputs in this order:

(API-Endpoint-URL,client_id,client_secret,authorization,starting_page_number,ending_page_number,page_size)

Note: 1. API_Endpoint_URL,client_id,client_secret and authorization must all be in strings. The remaining three parameters must be integers. 2. Do not include query parameter symbol ? at the end of the API_Endpoint_URL.

Example

const fetch=require('fetch-store-json');
fetch('https://www.somesite.com/api-2.0/courses/','paste_your_client_id','paste_your_client_secret','paste_your_authorization',1,10,1000);
1.1.8

4 years ago

1.1.7

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago