Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/stevedylandev/pinata-api-calls
- Owner: stevedylandev
- Created: 2022-10-18T01:46:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T14:58:12.000Z (almost 2 years ago)
- Last Synced: 2024-12-09T00:07:30.669Z (16 days ago)
- Language: JavaScript
- Size: 42 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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])!