@datafire/moonmoonmoonmoon
v6.0.0
Published
DataFire integration for Moon by Ai Weiwei & Olafur Eliasson
Readme
@datafire/moonmoonmoonmoon
Client library for Moon by Ai Weiwei & Olafur Eliasson
Installation and Usage
npm install --save @datafire/moonmoonmoonmoonlet moonmoonmoonmoon = require('@datafire/moonmoonmoonmoon').create();
.then(data => {
console.log(data);
});Description
Turn nothing into something – make a drawing, make a mark.
Actions
api.hashtags.get
Search for specified tag (no pound sign necessary). If tag is empty, the 50 most popular hashtags will be returned.
moonmoonmoonmoon.api.hashtags.get({}, context)Input
- input
object- tag
string: Hashtag to search for
- tag
Output
Output schema unknown
api.marks.get
The main method for querying the marks database. You may use the following options: No parameters to retrieve all marks in descending chronological order (use before for pagination) popular (and optionally last_popular_id) to retrieve all popular marks featured to retrieve all featured marks x & y to retrieve mark at specific coordinate user to retrieve all marks created by the specified user collection to retrieve all marks collected by the specified user
moonmoonmoonmoon.api.marks.get({}, context)Input
- input
object- before
string: Before ID (pagination purposes) - popular
boolean: Popular marks - last_popular_id
string: Last popular ID (for pagination purposes) - featured
boolean: Featured marks - x
integer: X coordinate - y
integer: Y coordinate - user
string: Created by user ID - collection
string: Collection ID
- before
Output
Output schema unknown
Definitions
This integration has no definitions
