![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
A client for interacting with the RSS3 Decentralized Service Layer (DSL) API.
You can install the required dependencies using pip:
pip install rss3-dsl-client
from rss3_dsl_client import RSS3Client
client = RSS3Client()
Here are some examples of fetching social post activities with different parameters:
from rss3_dsl_client.schemas.common import PaginationOptions, ActivityFilter
from rss3_dsl_client.schemas.enums import Platform
# Example 1: Basic usage with pagination
social_post_activities = client.fetch_social_post_activities(
account="0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
pagination=PaginationOptions(limit=10)
)
print(social_post_activities)
# Example 2: Using filters for platform
social_post_activities = client.fetch_social_post_activities(
account="0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
filters=ActivityFilter(platform=[Platform.FARCASTER, Platform.LENS]),
pagination=PaginationOptions(limit=10)
)
print(social_post_activities)
# Example 3: Using filters with time range
social_post_activities = client.fetch_social_post_activities(
account="0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
filters=ActivityFilter(since_timestamp=1625097600, until_timestamp=1627689600),
pagination=PaginationOptions(limit=10)
)
print(social_post_activities)
You can also fetch RSS activity details by path using the fetch_rss_activity_by_path
method:
rss_activity = client.fetch_rss_activity_by_path(path="abc")
print(rss_activity)
The RSS3Client
class provides various methods to fetch different types of activities. Below are the available methods:
fetch_collectible_approval_activities
fetch_collectible_burn_activities
fetch_collectible_mint_activities
fetch_collectible_trade_activities
fetch_collectible_transfer_activities
fetch_exchange_liquidity_activities
fetch_exchange_staking_activities
fetch_exchange_swap_activities
fetch_metaverse_burn_activities
fetch_metaverse_mint_activities
fetch_metaverse_trade_activities
fetch_metaverse_transfer_activities
fetch_social_comment_activities
fetch_social_delete_activities
fetch_social_mint_activities
fetch_social_profile_activities
fetch_social_proxy_activities
fetch_social_revise_activities
fetch_social_reward_activities
fetch_social_share_activities
fetch_transaction_approval_activities
fetch_transaction_bridge_activities
fetch_transaction_burn_activities
fetch_transaction_mint_activities
fetch_transaction_transfer_activities
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A Python SDK for RSS3 Data Sub Layer (DSL)
We found that rss3-dsl-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.