Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevedylandev/pinata-api-calls

A small prebuilt repo of some popular API calls to Pinata!
https://github.com/stevedylandev/pinata-api-calls

Last synced: 11 days ago
JSON representation

A small prebuilt repo of some popular API calls to Pinata!

Awesome Lists containing this project

README

        

# Pinata API Calls
This is a quick repo that allows users to quick start testing the most popular Pinata API calls!

## Installation and Setup
You will need to have node.js installed. Next clone the repo and install the dependencies.

```git clone https://github.com/stevedsimkins/pinata-api-calls && cd pinata-api-calls && npm install```

After that, cd into the directory and create a .env file in the root of the folder:

```touch .env```

Open the .env file and add in your [Pinata API JWT](https://knowledge.pinata.cloud/en/articles/6191471-how-to-create-an-pinata-api-key) with the format below:

```PINATA_JWT=REPLACE_THIS_WITH_YOUR_PINATA_JWT```

## Test it!

From there you can try the first call in the terminal using ```node testAuthentication.js```. After that you can open any of the API calls, make adjustments and use ```node name_of_file.js``` to run the API command!

If you have any questions please send an email to [[email protected]](mailto:[email protected])!