All Projects → pastorsj → node-fred

pastorsj / node-fred

Licence: MIT license
A Fred2 API wrapper

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-fred

ZmopSharp
ZMOP (芝麻信用开放平台) SDK for .NET
Stars: ✭ 11 (-31.25%)
Mutual labels:  api-wrapper
go-ovh
Simple go wrapper for the OVH API
Stars: ✭ 107 (+568.75%)
Mutual labels:  api-wrapper
rust-ipfs-api
Rust language IPFS API implementation
Stars: ✭ 20 (+25%)
Mutual labels:  api-wrapper
py-vkontakte
A Python wrapper around the vk.com
Stars: ✭ 17 (+6.25%)
Mutual labels:  api-wrapper
jokeapi
Official golang wrapper for Sv443's jokeapi.
Stars: ✭ 19 (+18.75%)
Mutual labels:  api-wrapper
python-censusbatchgeocoder
A simple Python wrapper for U.S. Census Geocoding Services API batch service
Stars: ✭ 40 (+150%)
Mutual labels:  api-wrapper
bookops-worldcat
BookOps WorldCat Metadata API wrapper
Stars: ✭ 21 (+31.25%)
Mutual labels:  api-wrapper
DPP
C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
Stars: ✭ 560 (+3400%)
Mutual labels:  api-wrapper
pybuildkite
A Python library for the Buildkite API
Stars: ✭ 29 (+81.25%)
Mutual labels:  api-wrapper
asyncpixel
An Asyncronous Python wrapper for the Hypixel API.
Stars: ✭ 22 (+37.5%)
Mutual labels:  api-wrapper
bitflyer
⚡ bitFlyer API wrapper for Ruby
Stars: ✭ 25 (+56.25%)
Mutual labels:  api-wrapper
acord
An API wrapper for discord, built using aiohttp and pydantic.
Stars: ✭ 25 (+56.25%)
Mutual labels:  api-wrapper
roux
Simple and (a)synchronous Reddit API wrapper for Rust.
Stars: ✭ 41 (+156.25%)
Mutual labels:  api-wrapper
hackerone-client
An unofficial wrapper for the HackerOne API
Stars: ✭ 55 (+243.75%)
Mutual labels:  api-wrapper
wp-pgp-encrypted-emails
🔐 📧 Encrypts WordPress emails using OpenPGP or S/MIME with a familiar API.
Stars: ✭ 35 (+118.75%)
Mutual labels:  api-wrapper
article-downloader
Uses publisher APIs to programmatically retrieve scientific journal articles for text mining.
Stars: ✭ 81 (+406.25%)
Mutual labels:  api-wrapper
gtmetrix-net
GTmetrix .Net client
Stars: ✭ 16 (+0%)
Mutual labels:  api-wrapper
api
Free Rest Webservices
Stars: ✭ 20 (+25%)
Mutual labels:  api-wrapper
the-traveler
The Traveler is a small npm package which wraps around the Destiny 2 API.
Stars: ✭ 52 (+225%)
Mutual labels:  api-wrapper
scala-weather
High-performance Scala library for looking up the weather
Stars: ✭ 45 (+181.25%)
Mutual labels:  api-wrapper

node-fred ·

build status npm version Coverage Status Greenkeeper badge

A Fred2 API wrapper

The Fred API

Official Documentation

Wrapper Documentation

Installation Instructions

npm install node-fred --save

Example

Using Promises

import Fred from 'node-fred'

const fred = new Fred(API_KEY);

function getCategory(categoryID) {
  fred.categories.getCategory(125)
    .then((res) => {
      console.log('Category', res);
    })
    .catch((err) => {
      console.error('Error', err);
    });
}
getCategory(125);

Using async/await

import Fred from 'node-fred'

const fred = new Fred(API_KEY);

async function getCategory(categoryID) {
  try {
    const category = await fred.categories.getCategory(categoryID);
    console.log('Category', res);
  } catch (err) {
    console.error('Error', err);
  }
}
getCategory(125);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].