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

https://github.com/dmdv/opensea-crystal

Simple API which uses crystal, local cache to fetch information about NFT token using Opensea API
https://github.com/dmdv/opensea-crystal

crystal crystal-lang crystal-language kemal opensea

Last synced: 9 months ago
JSON representation

Simple API which uses crystal, local cache to fetch information about NFT token using Opensea API

Awesome Lists containing this project

README

          

# Opensea

Simple API service which uses

- HTTP client
- Memory cache

to fetch NFT tokenby contract address and token ID to get information about NFT token

## Installation

- Crystal
- Shards

## Usage

```bash
shards build --static --no-debug --release --production -v
```

## Development

```bash
crystal src/opensea.cr
```

### Benchmarking

I've measured performance of the current implementation against
https://github.com/Dmdv/opensea-netcore

And `.NETCORE` showed results almost as twice faster compared to `Crystal`

1 run = netcore
2 run = Crystal

image