Before you begin!
Visit the Wetrocloud console to get your API key. If you have trouble obtaining it, refer to this guide.

Introduction

This guide is for developers looking to get started with the WetroCloud API quickly. Using simple cURL commands, you’ll learn how to:

  • Create a collection
  • Insert resources into the collection
  • Query resources for answers
  • Categorize resources

Prerequisites:

By the end, you’ll have queried your first resource using Wetrocloud API.

Important!
Always prefix your API key with Token (including a space). Example: Token YOUR_API_KEY. Requests without this format will be rejected.

1

Create a Collection

First, create a collection_id to group your resources.

2

List all available collections

After creating a collection, you can get all your available collections on wetrocloud.

3

Insert a Resource into the Collection

Add a resource to your collection using the collection_id you created earlier

4

Query a Resource

Query your resource using the collection_id created earlier by providing a query in the request_query field.

To keep things simple we made use of the /query/ endpoint without structured output

5

Categorize a Resource

6

This endpoint is used to delete a collection

Great, that was easy!

If you want to get a more in depth understanding of how wetrocloud API fits together head on over to the API reference.