Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with the external API #47

Open
sohilpandya opened this issue May 3, 2017 · 1 comment
Open

Integration with the external API #47

sohilpandya opened this issue May 3, 2017 · 1 comment

Comments

@sohilpandya
Copy link
Member

Why?
We will need to store the data that is present on the phone's core data onto a universal database so that it is accessible by everyone on all platforms.

What type of information needs to be stored outside of the app?
IMO a variation of the information similar to that found in the screenshot below
screen shot 2017-05-02 at 20 43 19

I am thinking of the following API calls:

  • get /projects -> gets a list of all the projects with all of the information related to each individual projects.
  • post /projects -> add a new project, start/stop a new timer.

Things that I'll need to figure out:

  • Ability to make an API call (using HTTP to start with)
    • eventually, we need a bidirectional flow of data using sockets or something equivalent.
  • What kind of data format should be used for sending/receiving the data? (JSON 🤔)
@sohilpandya
Copy link
Member Author

We've started looking at HTTP request in dwyl/learn-apple-watch-development#34 & dwyl/learn-apple-watch-development#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants