There are currently more than 10,000 cryptocurrencies, and using tags for this would limit us from using them for other purposes. We also want to maintain flexibility for future developments and additional use cases, so a more dynamic approach (like integrating the API) seems necessary.
Yes, the names and slugs of cryptocurrencies can change, and this is where the external API comes in handy. The API will always provide up-to-date information. Here’s how it works in practice:
Let’s say a user wants to share an idea about Bitcoin. The user will search for Bitcoin from the list provided by the API, which gives real-time information such as the current price in USD, 24-hour changes, etc. After selecting Bitcoin, the user can then write an idea related to price movements, technical or fundamental analysis, or any other insights they have. They can also attach images, set price targets, and define the idea type (e.g., tutorial, technical analysis, etc.).
Later, I’ll use this type to organize ideas into different categories or views. Additionally, I’ll use the cryptocurrency asset ID (e.g., Bitcoin’s ID is 1) to filter and display Bitcoin-specific ideas on another website via the Discourse API.