Chimoney / non-profit-donations

http://api.chimoney.io/
MIT License
4 stars 7 forks source link
hacktoberfest
Logo project

non-profit-donations

Get and manage verified non-profits and send donations to them using their verified Interledger payment pointer, ENS name, Paystring, Mobile money number, Airtime phone number and other crypto or payment addresses.

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Twitter](https://img.shields.io/twitter/follow/chimoney_io.svg?label=Follow&style=social)](https://twitter.com/chimoney_io)


Content

Features ✨

Installation πŸ™

Yarn:

yarn add non-profit-donations

npm:

npm install --save non-profit-donations

Usage πŸ’‘

Example (es module)

import { verifiedNonprofits } from 'non-profit-donations';
console.log(verifiedNonprofits());

Example (commonjs)

var verifiedNonprofits = require('non-profit-donations').verifiedNonprofits;
console.log(verifiedNonprofits());

Result

[
  {
    name: 'SheCodeAfrica',
    email: 'info@shecodeafrica.org',
    country: 'Nigeria',
    website: 'shecodeafrica.org',
    logo: 'https://www.shecodeafrica.org/images/she-code-africa-logo.svg',
    foundedYear: '2016',
    description:
      'A non-profit organisation focused on celebrating and empowering young girls and women in tech across Africa.',
    isVerified: true,
    verifications: [
      {
        date: new Date('Oct 4, 2021'),
        verifier: '@uchibeke',
      },
    ],
    paymentMethods: [
      {
        type: 'interledger',
        paymentID: '$ilp.uphold.com/kkd4KdPQwqJM',
      },
  },
  {
    name: 'Internet Archive',
    email: 'info@archive.org',
    country: 'United States',
    website: 'https://archive.org/',
    logo: 'https://anniversary.archive.org/wp-content/themes/anniversary/images/logo-white.svg',
    foundedYear: '1996',
    description:
      'Internet Archive is a non-profit digital library offering millions of free books, movies, & audio files, plus billions of saved web pages in the Wayback Machine',
    isVerified: true,
    verifications: [
      {
        date: new Date('Oct 11, 2021'),
        verifier: '@uchibeke',
      },
    ],
    paymentMethods: [
      {
        type: 'interledger',
        paymentID: '$ilp.uphold.com/D7BwPKMQzBiD',
      },
      {
        type: 'xrp',
        paymentID: 'rGeyCsqc6vKXuyTGF39WJxmTRemoV3c97h',
      },
    ],
  },
  .
  .
  .
]

Documentation πŸ“„

Documentation is at chimoney.github.io/non-profit-donations

API πŸ‘©β€πŸ’»

API is at chimoney.github.io/non-profit-donations

Contributing 🍰

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to this project!

Maintainers πŸ‘·

Uchi Uchibeke
Uchi Uchibeke

πŸ’»

License βš–οΈ

MIT Β©