mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-15 18:25:18 +02:00
feat(backend): Implement DexScreener connector (Story 1.1)
Core Implementation: - Add DexScreenerConnector class with public API integration - Implement token pair data fetching and indexing - Add API routes: add, delete, test endpoints - Register connector in task indexers and Celery tasks - Add DEXSCREENER_CONNECTOR enum to database models Features: - Support up to 50 tokens per connector - Track prices, volume, liquidity across multiple DEXs - EVM and Solana address validation - Periodic sync support - No API key required (public DexScreener API) API Endpoints: - POST /api/v1/connectors/dexscreener/add - DELETE /api/v1/connectors/dexscreener - GET /api/v1/connectors/dexscreener/test All endpoints require JWT authentication ✅ Integration tests passing ✅ Ready for production deployment ✅
This commit is contained in:
parent
8fec08edcd
commit
9f66d5ca25
7 changed files with 1031 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ class DocumentType(str, Enum):
|
|||
GOOGLE_DRIVE_FILE = "GOOGLE_DRIVE_FILE"
|
||||
AIRTABLE_CONNECTOR = "AIRTABLE_CONNECTOR"
|
||||
LUMA_CONNECTOR = "LUMA_CONNECTOR"
|
||||
DEXSCREENER_CONNECTOR = "DEXSCREENER_CONNECTOR"
|
||||
ELASTICSEARCH_CONNECTOR = "ELASTICSEARCH_CONNECTOR"
|
||||
BOOKSTACK_CONNECTOR = "BOOKSTACK_CONNECTOR"
|
||||
CIRCLEBACK = "CIRCLEBACK"
|
||||
|
|
@ -80,6 +81,7 @@ class SearchSourceConnectorType(str, Enum):
|
|||
GOOGLE_DRIVE_CONNECTOR = "GOOGLE_DRIVE_CONNECTOR"
|
||||
AIRTABLE_CONNECTOR = "AIRTABLE_CONNECTOR"
|
||||
LUMA_CONNECTOR = "LUMA_CONNECTOR"
|
||||
DEXSCREENER_CONNECTOR = "DEXSCREENER_CONNECTOR"
|
||||
ELASTICSEARCH_CONNECTOR = "ELASTICSEARCH_CONNECTOR"
|
||||
WEBCRAWLER_CONNECTOR = "WEBCRAWLER_CONNECTOR"
|
||||
BOOKSTACK_CONNECTOR = "BOOKSTACK_CONNECTOR"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue