@datafire/thenounproject
v6.0.0
Published
DataFire integration for The Noun Project
Downloads
36
Readme
@datafire/thenounproject
Client library for The Noun Project
Installation and Usage
npm install --save @datafire/thenounproject
let thenounproject = require('@datafire/thenounproject').create();
.then(data => {
console.log(data);
});
Description
Icons for Everything
Actions
getCollectionById
Returns a single collection
thenounproject.getCollectionById({
"id": 0
}, context)
Input
- input
object
- id required
integer
: Collection id
- id required
Output
Output schema unknown
getCollectionIconsById
Returns a list of icons associated with a collection
thenounproject.getCollectionIconsById({
"id": 0
}, context)
Input
- input
object
- id required
integer
: Collection id - limit
integer
: Maximum number of results - offset
integer
: Number of results to displace or skip over - page
integer
: Number of results of limit length to displace or skip over
- id required
Output
Output schema unknown
getCollectionBySlug
Returns a single collection
thenounproject.getCollectionBySlug({
"slug": ""
}, context)
Input
- input
object
- slug required
string
: Collection slug
- slug required
Output
Output schema unknown
getCollectionIconsBySlug
Returns a list of icons associated with a collection
thenounproject.getCollectionIconsBySlug({
"slug": ""
}, context)
Input
- input
object
- slug required
string
: Collection slug - limit
integer
: Maximum number of results - offset
integer
: Number of results to displace or skip over - page
integer
: Number of results of limit length to displace or skip over
- slug required
Output
Output schema unknown
getAllCollections
Return's a list of all collections
thenounproject.getAllCollections({}, context)
Input
- input
object
- limit
integer
: Maximum number of results - offset
integer
: Number of results to displace or skip over - page
integer
: Number of results of limit length to displace or skip over
- limit
Output
Output schema unknown
getIconById
Returns a single icon
thenounproject.getIconById({
"id": 0
}, context)
Input
- input
object
- id required
integer
: Icon id
- id required
Output
Output schema unknown
getIconByTerm
Returns a single icon
thenounproject.getIconByTerm({
"term": ""
}, context)
Input
- input
object
- term required
string
: Icon term
- term required
Output
Output schema unknown
getRecentIcons
Returns list of most recently uploaded icons
thenounproject.getRecentIcons({}, context)
Input
- input
object
- limit
integer
: Maximum number of results - offset
integer
: Number of results to displace or skip over - page
integer
: Number of results of limit length to displace or skip over
- limit
Output
Output schema unknown
getIconsByTerm
Returns a list of icons
thenounproject.getIconsByTerm({
"term": ""
}, context)
Input
- input
object
- term required
string
: Icon term - limit_to_public_domain
integer
: Limit results to public domain icons only - limit
integer
: Maximum number of results - offset
integer
: Number of results to displace or skip over - page
integer
: Number of results of limit length to displace or skip over
- term required
Output
Output schema unknown
getApiQuotaStatus
Returns current oauth usage and limits
thenounproject.getApiQuotaStatus(null, context)
Input
This action has no parameters
Output
Output schema unknown
getUserCollections
Returns a list of collections associated with a user
thenounproject.getUserCollections({
"user_id": 0
}, context)
Input
- input
object
- user_id required
integer
: User id
- user_id required
Output
Output schema unknown
getUserCollection
Returns a single collection associated with a user
thenounproject.getUserCollection({
"user_id": 0,
"slug": ""
}, context)
Input
- input
object
- user_id required
integer
: User id - slug required
string
: Collection slug
- user_id required
Output
Output schema unknown
getUserUploadsWithUser
Returns a list of uploads associated with a user
thenounproject.getUserUploadsWithUser({
"username": ""
}, context)
Input
- input
object
- username required
string
: Username - limit
integer
: Maximum number of results - offset
integer
: Number of results to displace or skip over - page
integer
: Number of results of limit length to displace or skip over
- username required
Output
Output schema unknown
Definitions
This integration has no definitions