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!
- Host: GitHub
- URL: https://github.com/devinceble/cnft-api-scraper
- Owner: devinceble
- Created: 2021-10-28T09:29:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-19T02:35:27.000Z (over 4 years ago)
- Last Synced: 2025-02-24T01:15:47.551Z (11 months ago)
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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
```