Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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])!