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

https://github.com/devinceble/cnft-api-scraper

Scrapes the CardanoCity NFT data from cnft.io API. Now includes the much awaited rare units feature! You can not only search by item name, but only show items below a certain price!
https://github.com/devinceble/cnft-api-scraper

Last synced: 7 months ago
JSON representation

Scrapes the CardanoCity NFT data from cnft.io API. Now includes the much awaited rare units feature! You can not only search by item name, but only show items below a certain price!

Awesome Lists containing this project

README

          

# Installation

This tool uses NodeJS 15.4.0, there are tons of tutorials out there on how to download and install NodeJS.
This readme will not be a Node tutorial unfortunately. Once you have node installed and have pulled down the git repo to your PC run the following to install the project:

```bash
npm i
```

## **Next, open your terminal and determine which mode you would like to run**

#### There are 3 modes to run. First you must retrieve the units then you can run rare item mode.

Please do NOT retrieve the units more than once every 3-4 hours, cnft.io is a very important part of the CNFT ecosystem at the moment, and bringing it down could prove to be catastrophic at a time when ethereum refugees are flooding into the CNFT world.



**Retrieve the units from cnft.io**:

```bash
node index.js --mode=get-units
```

**Find rare items below a certain price**:

#### Multiple words need to be passed with quotes as shown in the cardano wine example (3rd).

```bash
node index.js --mode=find-items --rareitem=samurai --maxprice=2000
node index.js --mode=find-items --rareitem=astro --maxprice=500
node index.js --mode=find-items --rareitem="black desk" --maxprice=225
node index.js --mode=find-items --rareitem="cardano wine" --maxprice=120
```