Using the Dropmark API
Dropmark offers two APIs:
- Feed API: simple read-only endpoints to access Dropmark data for personal use.
- Application API: develop mobile, desktop, or web applications for multiple users.
Feed API
Authentication
Authentication is required for most calls, with exception to public collections. Two forms of authentication are supported:
- Basic auth using email (or username) and password.
- Personal, read-only API keys.
Personal keys can be obtained under Collection Settings > Advanced > JSON or Account > Private links > Activity feed, depending on the desired endpoint. Keys are unique for each endpoint and collection, and can be reset at any time (from Account > Private links).
Endpoints
- Collection
- Retrieves items within a specific collection. Use the following URL, replacing
:id
for the numeric collection ID requested andusername
with a valid username. https://username.dropmark.com/:id.json
- Supported parameters:
- JSON (
.json
) - Podcast-friendly RSS (
.rss
or.xml
) - Comma-separated values (
.csv
) - Playlist file (
.pls
)
- JSON (
- Supported parameters:
key
- personal read-only token (optional with basic auth)callback
- include for JSONP requests (optional)
- Note: Authentication is only required for private collections.
- Curl example:
curl --user "username:password" "https://username.dropmark.com/1234.json"
- JavaScript example:
$.getJSON("https://username.dropmark.com/1234.json?key=abc123&callback=?", function(data) { data.items.map(...); });
- Retrieves items within a specific collection. Use the following URL, replacing
- Activity
- Retrieves a blended feed of newly created collections, items, comments, and reactions for a particular user or team. Use the following URL, replacing
username
with a valid username. https://username.dropmark.com/activity.json
- Supported formats:
- Supported arguments:
key
- personal read-only token (optional with basic auth)
- Curl example:
curl --user "username:password" "https://username.dropmark.com/activity.json"
- JavaScript example:
$.getJSON("https://username.dropmark.com/activity.json?key=abc123&callback=?", function(data) { data.map(...); });
- Tip: items may be uploaded using the Email uploads feature without requiring full API access.
- Retrieves a blended feed of newly created collections, items, comments, and reactions for a particular user or team. Use the following URL, replacing
Application API
The Application API is currently in beta and open to limited partners. To request access and register your application, e-mail api@dropmark.com and tell us about desired use.