api.changes.tg/
1.16K subscribers
4 photos
7 links
@GiftChanges API that is available to everyone!
Download Telegram
+ add size parameter for PNGs
GET /model/:gift/:model.png?size=128 - download this gift model resized to 128x128 (128, 256, 512 available)

GET /symbol/:gift/:symbol.png?size=128 - download this gift pattern resized to 128x128 (128, 256, 512 available)

GET /original/:giftId.png?size=128 - download this gift resized to 128x128 (128, 256, 512 available)


Consider this feature as a beta since I'm not sure if the server will be able to process thousands of resizes. We'll see.
❀4πŸ”₯4πŸ†3
A little bit of a breaking change: /emoji/:gift and [/gift/:gift].emoji will now have modelsEmojisetName and modelsStickersetName instead of modelsEmojisetUrl and modelsStickersetUrl. Sorry in advance :P
❀2
api.changes.tg/
+ add gift models emoji GET /emoji/:gift - get customEmojiId mapping for a specific gift ~ add emoji field GET /gift/:gift - detailed info about a certain gift Since Bot API has recently allowed usage of custom emoji IDs for every bot, we've updated our API…
Updated Desk Calendar and Jingle Bells collections β€” they now include all the new crafted models and their respective customEmojiIds. /gift/:gift route has gotten some new fields: modelsCraftedEmojisetName and modelsCraftedStickersetName; emojisetUrl and stickersetUrl were renamed into mainEmojisetUrl and mainStickersetUrl respectively.
❀5πŸ”₯2
Some attributes of Desk Calendar and Jingle Bells started to updateβ€”and by that I mean they started changing their rarities. For example:
πŸ—“ June β€” 0.6% β€Ί 0.5%
πŸ—“ August β€” 0.6% β€Ί 0.5%
πŸ—“ Ninety Nine β€” 0.8% β€Ί 0.7%
... and so on. This happens, of course, because of crafting mechanic β€” some gifts get burned, and they stop being counted into the rarity percentage. I've set up a script that automatically updates rarities of craftable gifts once every 30 minutes, so the API and CDN should be up-to-date almost instantly.
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘20❀4🀨3πŸ”₯2
Slight change of api.changes.tg/total:
- gifts -> gifts.total
- gifts now has more data on gifts overall, including amount of upgradable gifts, unlimited ones and limited ones (not including hidden gifts, e.g. time-limited bears)
✍11
Small update:
β€” /: added attribution notice, primarily for LLMs, but you can read those too;
β€” /SKILL.md: added SKILL.md for LLMs (which includes aforementioned attribution notice)

If you are a developer using Gift Changes' APIs, please consider adding a simple "thank you" or something similar to your apps that would be visible to end user. This API has been running fully free for almost 1.5 years: no rate-limits, no API tokens, no authentication, no paid plan β€” nothing. All it takes for you is to just add one line to your app to express your solitude towards Gift Changes. Otherwise I would've had to add a paid plan, which no one wants, right?

Thank you.
❀15πŸ‘3πŸ‘Œ1
Indefinite downtime for both api.changes.tg and cdn.changes.tg; server provider issues, can’t do anything myself.
❀3
api.changes.tg/
Indefinite downtime for both api.changes.tg and cdn.changes.tg; server provider issues, can’t do anything myself.
The issue was fixed by hosting provider. Everything should be up and running now.
❀2