An open API service indexing awesome lists of open source software.

https://github.com/darcyclarke/darcy

👤 all my info, centralized in one place
https://github.com/darcyclarke/darcy

bio darcy data graph info information links nodejs npm open profile

Last synced: about 2 months ago
JSON representation

👤 all my info, centralized in one place

Awesome Lists containing this project

README

          

# 👤 darcy

[![npm version](https://badge.fury.io/js/darcy.svg)](https://badge.fury.io/js/darcy) [![Build Status](https://travis-ci.org/darcyclarke/darcy.svg?branch=master)](https://travis-ci.org/darcyclarke/darcy) [![Known Vulnerabilities](https://snyk.io/test/github/darcyclarke/darcy/badge.svg)](https://snyk.io/test/github/darcyclarke/darcy) [![Greenkeeper badge](https://badges.greenkeeper.io/darcyclarke/darcy.svg)](https://greenkeeper.io/) [![Netlify Status](https://api.netlify.com/api/v1/badges/e2e9f0d7-1859-45fc-a025-95941ad1843b/deploy-status)](https://app.netlify.com/sites/api-services/deploys)

![Darcy's Banner](https://user-images.githubusercontent.com/459713/54567108-245ebd00-49a9-11e9-9ff7-8c24895a4350.jpg)

The data schema is based on [Open Graph Protocol](http://ogp.me/) metadata spec but slightly modified to add further context/expansion in the default `:profile` & `:book` types while also adding a new `:link` type.

#### Add me to your deps

```bash
$ npm i darcy
# or
$ yarn add darcy
```

then...

```js
const darcy = require('darcy')
// or
import darcy from 'darcy'
```

#### API Requests

You can query my data directly from: [https://darcy.netlify.com/.netlify/functions/get](https://darcy.netlify.com/.netlify/functions/get)

**Examples:**

```bash
# curl
curl -v https://darcy.netlify.com/.netlify/functions/get # me...
```

```js
// fetch
fetch('https://darcy.netlify.com/.netlify/functions/get')
.then(res => res.json())
.then(json => console.log(json)) // me...
```

```js
// axios
require('axios').get('https://darcy.netlify.com/.netlify/functions/get')
.then(res => console.log(res.data)) // me...
```