Pinboard API Proxy
A CORS-enabled version of the Pinboard API
https://pinboard-api-proxy.now.sh
Use the information at https://pinboard.in/howto/#api to see what methods are available, just replace the domain.
Example:
const getPosts = async (apiToken) => {
const url = `https://pinboard-api-proxy.now.sh/posts/all?auth_token=${apiToken}&format=json`;
const res = await fetch(url);
const data = await res.json();
return data;
}
getPosts([YOUR-API-TOKEN]) // Returns all posts
Originally made by ZΛNDΞR by using Micro & hosted on now by zeit