Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevedylandev/pinata-submarine-api-starter
A starter kit of API calls for the Pinata Submarine API
https://github.com/stevedylandev/pinata-submarine-api-starter
Last synced: 29 days ago
JSON representation
A starter kit of API calls for the Pinata Submarine API
- Host: GitHub
- URL: https://github.com/stevedylandev/pinata-submarine-api-starter
- Owner: stevedylandev
- Created: 2023-02-01T01:46:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T01:48:53.000Z (almost 2 years ago)
- Last Synced: 2024-12-09T00:07:31.307Z (about 1 month ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pinata Submarine API Starter
This is a quick repo that allows users to quick start testing the most popular Pinata Submarine 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-submarine-api-starter && cd pinata-submarine-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 Submarine Key](https://knowledge.pinata.cloud/en/articles/6191471-how-to-create-an-pinata-api-key) with the format below:
```SUBMARINE_KEY=REPLACE_THIS_WITH_YOUR_PINATA_SUBMARINE_KEY```
## Test it!
From there you can try the first call in the terminal using ```node submarineFile.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])!