piepworks / cassettenest-roadmap

Public roadmap for Cassette Nest
0 stars 0 forks source link

Integrate Buttondown in the signup process. #28

Open trey opened 2 years ago

trey commented 2 years ago

Use a web hook or something?

trey commented 1 year ago

https://buttondown.email/features/api

Want to sync your subscribers with Buttondown's database or run your own custom analyses, or to sync with your app's database? That takes five lines of Python.

headers = {
  "Authorization": f"Token {BUTTONDOWN_API_KEY}"
}
base_url = "https://api.buttondown.email"
endpoint = "/v1/subscribers"

# Pull your subscribers to sync them with your database!
requests.get(
  base_url + endpoint,
  headers=headers
).json()
trey commented 1 year ago

Looks like doing anything with the API will require a $9/month plan.

https://buttondown.email/pricing