Threadless API v939

Welcome to the docs for Threadless’s API, Loom. These docs will walk you through the basics of Loom, its endpoints, its responses, and how to communicate directly with it through your own client.

Getting your API keys

Send us an email at api@threadless.com. Please include a description of what you’re planning to build with our API.

API Clients

Currently, our API clients are limited to Python and Javascript, but the documentation process for implementing a new client is well-documented.

Python

Full documentation

Installation:

pip install https://loom.threadless.com/threadless.egg

Usage:

import threadless

loom = threadless.API(consumer_token, consumer_secret)
me = loom.get_user("@toolbar")
print(me.get_profile().age)

Javascript

Full documentation

Installation:

<script type="text/javascript" src="https://loom.threadless.com/loom.js"></script>

Usage:

var loom = new Loom(consumerToken, consumerSecret);

loom.getUser("@toolbar").then(function(user) {
    return user.getProfile();
}).then(function(profile) {
    console.log(profile.age);
});

Table Of Contents

Next topic

Endpoints

This Page