jsjoeio / 100-days-twilio-twitter

A simple app that lets you track your #100DaysOfCode progress with Twilio, Twitter and GitHub
MIT License
13 stars 4 forks source link

Research Logging Text Message on GitHub #7

Open jsjoeio opened 6 years ago

jsjoeio commented 6 years ago

Can the text message also send a POST request to GitHub?

jsjoeio commented 6 years ago

Looks like it is possible to send commit messages using the GitHub API

jsjoeio commented 6 years ago

There may be a few ways to do this:

  1. Create a new file with each log.
  2. Update a file (may require a GET + PUT).

I'll need to do more research. Either way, definitely possible 👯‍♂️

jsjoeio commented 6 years ago

Made some progress today. Started messing around with API using cURL and also Postman. Couldn't figure out some stuff about creating a file. Will need to mess around more with it.