Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 2.26 KB

File metadata and controls

80 lines (54 loc) · 2.26 KB
description DECENTRALIZED CODE, DATA, API AND CONTENT MANAGMENT
icon webhook

PHUNKY DATA

Need Phunk data for a site but either don’t want to or don’t know how to write an API layer?
I got you covered..... by @tbc_eth

{% code fullWidth="true" %}

Endpoint: 
https://data.phunky.dev/

Full return (Paginated): 
https://data.phunky.dev/api/v2-phunks-nfts

Find One:
/api/v2-phunks-nfts/{:id}
i.e. https://data.phunky.dev/api/v2-phunks-nfts/69

How to filter:
https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest/api-parameters.html

All Hoodies w/ Cigarettes
https://data.phunky.dev/api/v2-phunks-nfts?filters[hair][$eqi]=hoodie&filters[mouth][$eqi]=cigarette

All Aliens w/ Earrings
https://data.phunky.dev/api/v2-phunks-nfts?filters[sex][$eqi]=alien&filters[ears][$eqi]=earring

All 4T w/ Fedoras
https://data.phunky.dev/api/v2-phunks-nfts?filters[hair][$eqi]=fedora&filters[traitTag][$eq]=4T

Extract Data: 
https://data.phunky.dev/api/smart-contracts

api/smart-contracts
api/spotlights
api/v2-phunks-nfts
api/v2-phunks-nfts/{:id}
api/v3-phunks-nfts
api/v3-phunks-nfts/{:id}

Link to examples and how to filter/search: 
https://github.com/theblockchaineth/PhunkyData/blob/main/examples.md

{% endcode %}

{% hint style="info" %} Run by whoever, wherever, whenever - Servers have to be centralized but their definition and the ability to spin one up doesn't have to be. Want to add a new processor, datasource, or static content? Contribute to the repo or fork and go! {% endhint %}


LINKS

GitHub

https://github.com/theblockchaineth/PhunkyData

Examples

https://github.com/theblockchaineth/PhunkyData/blob/main/examples.md


RETROSPECTIVE

{% embed url="https://twitter.com/tbc_eth/status/1617753342511575040?s=20&t=1amiepW5oPGUP3CgpGWZXw" %} CLICK FOR MORE {% endembed %}