API & Webhooks
complete
A
Arthur
At this moment there is only a webhook, which either doesn't work or something wasn't right on my side. With that, there is no way of testing it and no documentation at all.
So it would be really nice to have an API.
Features:
- Get all transactions
- Get 1 transaction by id
- Get pageview data
- Get active subscribers / subscriptions
- Get inactive subscribers / subscriptions
- Get all subscribers / subscriptions (maybe combine these 3?)
- Update project settings
- Update coffee options, including goal
- CRUD on Shop
Am I missing something? Put it into the comments and I'll add it to the list.
M
Muskar
Webhooks are useless. Why isn't there a method for monthly membership? :/
Danny
Does anybody have an example to share for validating the webhook secret in Node? Thanks!
S
Shalanah Dawson
Got the basic webhook working would love to see the purchase_id in the webhook so that I can get more info directly about the transaction. Webhook doesn't have enough data like name or reward_id
PassiveModding
Regarding issues with requesting, you need to use a get request rather than post (despite what the doc says), and instead of including your access token as part of the content/data, include is as part of the authorization field as a bearer token. Please update the documentation
S
Shalanah Dawson
PassiveModding: Thanks! I couldn't get this to work before reading your comment
Waren Gonzaga
Hey guys, I'm currently working on NodeJS client for this... follow the project here. https://github.com/WarenGonzaga/buymeacoffee.js
Jijo Sunny
complete
Buy Me a Coffee API is now live for everyone! 🎉
It's still super early, so we'd love to hear your feedback.
Waren Gonzaga
Jijo Sunny: hi there, I tried it but it looks like not working? can you confirm it? I'm currently creating a wrapper for this for JS devs.
Thomas Seiger
Waren Gonzaga: same here. this is what I get:
Thomas Seiger
Jijo Sunny: At this point I just get an 405 Error, when I try to use the API.
B
Bruo Oliveira
Thomas Seiger: You need to use get instead of post
TooLiPHoNe.NeT
Jijo Sunny: here are some feedbacks, please answer and consider making your API better so we can use it!
Use case #1 : we need to be able to know if someone is an active member from its email address (not only its user ID)
Thanks in advance!
Juergen Nehrlich
Especially a Python API would be really nice.
l
liwij77206@tmail7.com
<b>Does they have official API</b>
Waren Gonzaga
This is what I need also... as a programmer I want to create my custom app to integrate with BMC.
Martin Törnros
Great list Arthur,
As mentioned in the comments, I would also like to add the possibility to check if an user/email-adress is a subscriber/member. Either via an API call (not webhook!) or as a "Login with BMC" tool/widget, or any similar tool to provide developers with user data by request.
Use case: easily offer website premium functionality to logged in members only.
Load More
→