{"id":21250801,"url":"https://github.com/rss3-network/dsl-python-sdk","last_synced_at":"2026-02-03T11:34:58.447Z","repository":{"id":249700314,"uuid":"811130544","full_name":"RSS3-Network/DSL-python-sdk","owner":"RSS3-Network","description":"A client for interacting with the RSS3 Data Sub Layer (DSL) API.","archived":false,"fork":false,"pushed_at":"2024-08-15T05:31:07.000Z","size":66,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-03T14:56:28.713Z","etag":null,"topics":["rss3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RSS3-Network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["rss3-network"]}},"created_at":"2024-06-06T02:02:48.000Z","updated_at":"2024-12-25T11:21:10.000Z","dependencies_parsed_at":"2024-07-22T21:17:28.055Z","dependency_job_id":"b9cf2c7d-c7cd-4322-bb0b-54fb3ceb0d47","html_url":"https://github.com/RSS3-Network/DSL-python-sdk","commit_stats":null,"previous_names":["rss3-network/dsl-python-sdk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/RSS3-Network/DSL-python-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2FDSL-python-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2FDSL-python-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2FDSL-python-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2FDSL-python-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RSS3-Network","download_url":"https://codeload.github.com/RSS3-Network/DSL-python-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2FDSL-python-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29044427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rss3"],"created_at":"2024-11-21T03:39:02.037Z","updated_at":"2026-02-03T11:34:58.414Z","avatar_url":"https://github.com/RSS3-Network.png","language":"Python","funding_links":["https://github.com/sponsors/rss3-network"],"categories":[],"sub_categories":[],"readme":"# RSS3 DSL SDK 📡\n\nA client for interacting with the RSS3 Data Sub Layer (DSL) API.\n\n## Features ✨\n\n- Fetch various types of activities for an account including collectibles, exchanges, metaverse, social, and transactions.\n- Supports pagination and filtering for activity retrieval.\n- Retrieve RSS activity details by path.\n\n## Installation 🚀\n\nYou can install the required dependencies using pip:\n\n```bash\npip install git+https://github.com/RSS3-Network/DSL-python-sdk\n```\n\n## Usage 📘\n\n### Initialize the Client\n\n```python\nfrom rss3_dsl_sdk import RSS3Client\n\nclient = RSS3Client()\n```\n\n### Fetch Social Post Activities\n\nHere are some examples of fetching social post activities with different parameters:\n\n```python\nfrom rss3_dsl_sdk.schemas.common import PaginationOptions, ActivityFilter\nfrom rss3_dsl_sdk.schemas.enums import Platform\n\n# Example 1: Basic usage with pagination\nsocial_post_activities = client.fetch_social_post_activities(\n    account=\"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\",\n    pagination=PaginationOptions(limit=10)\n)\nprint(social_post_activities)\n\n# Example 2: Using filters for platform\nsocial_post_activities = client.fetch_social_post_activities(\n    account=\"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\",\n    filters=ActivityFilter(platform=[Platform.FARCASTER, Platform.LENS]),\n    pagination=PaginationOptions(limit=10)\n)\nprint(social_post_activities)\n\n# Example 3: Using filters with time range\nsocial_post_activities = client.fetch_social_post_activities(\n    account=\"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\",\n    filters=ActivityFilter(since_timestamp=1625097600, until_timestamp=1627689600),\n    pagination=PaginationOptions(limit=10)\n)\nprint(social_post_activities)\n```\n\n### Fetch RSS Activity by Path\n\nYou can also fetch RSS activity details by path using the `fetch_rss_activity_by_path` method:\n\n```python\nrss_activity = client.fetch_rss_activity_by_path(path=\"abc\")\nprint(rss_activity)\n```\n\n### Other Available Methods\n\nThe `RSS3Client` class provides various methods to fetch different types of activities. Below are the available methods:\n\n- `fetch_collectible_approval_activities`\n- `fetch_collectible_burn_activities`\n- `fetch_collectible_mint_activities`\n- `fetch_collectible_trade_activities`\n- `fetch_collectible_transfer_activities`\n- `fetch_exchange_liquidity_activities`\n- `fetch_exchange_staking_activities`\n- `fetch_exchange_swap_activities`\n- `fetch_metaverse_burn_activities`\n- `fetch_metaverse_mint_activities`\n- `fetch_metaverse_trade_activities`\n- `fetch_metaverse_transfer_activities`\n- `fetch_social_comment_activities`\n- `fetch_social_delete_activities`\n- `fetch_social_mint_activities`\n- `fetch_social_profile_activities`\n- `fetch_social_proxy_activities`\n- `fetch_social_revise_activities`\n- `fetch_social_reward_activities`\n- `fetch_social_share_activities`\n- `fetch_transaction_approval_activities`\n- `fetch_transaction_bridge_activities`\n- `fetch_transaction_burn_activities`\n- `fetch_transaction_mint_activities`\n- `fetch_transaction_transfer_activities`\n\n## Contributing 🤝\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License 📄\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frss3-network%2Fdsl-python-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frss3-network%2Fdsl-python-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frss3-network%2Fdsl-python-sdk/lists"}