Find Jobs
Hire Freelancers

Get steps from the Google Fit API using PHP

€30-250 EUR

Completato
Pubblicato più di 3 anni fa

€30-250 EUR

Pagato al completamento
Build an integration towards the Google Fit API using PHP showing the number of steps for the last 7 days. This project contains of 4 tasks: - Implement the google-api-php-client ([login to view URL]) - put the number of steps for the last 7 days starting from current day into an array: $steps[0] (current day) to $steps[6] (6 days ago) - show the timestamp (epoch) for the last retrieved activity from Google Fit (usually 0 to 5 hours). Se example below. (This is used to show how long ago the google fit app was synced) - once the access token has expired (after 1 hour) and the page is reloaded, it shold refresh the token without any new consent from the user. This should be a single PHP page. On the page it should be: - a link/button to authenticate to the Google Oauth (standard oauth process) - print the array of steps like: "Today: $steps[0]<br/> 1 day ago: $steps[1]" and so on... - print the epoch timestamp for current day, like: "Timestamp: 1601037000633948165" The page does not have to look pretty, just text is fine. It's preffered to run this in PHP 5.6, if this caused some problems it can run in PHP 7.x instead. More info about the REST API: [login to view URL] More info about the oauth process: [login to view URL] More info about reading the daily steps: [login to view URL] Attached is examples from the Google API playground of the POST request and the response. Here are also some explainations: POST request: This is used to set timestamp for start (7 days ago) and current day. "startTimeMillis": 1600639200000, "endTimeMillis": 1601244000000 POST response: Number of steps: "intVal": 1841 Timestamp for last activity (to be printed on the page for current day): "endTimeNanos": "1600712516394036541",
Rif. progetto: 27534141

Info sul progetto

7 proposte
Progetto a distanza
Attivo 4 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
Hi, I'm really experienced in Google APIs integration and I'm available immediately. Requirements are perfectly clear and doable by the next few hours for sure. Contact me to discuss it further. Thanks
€150 EUR in 2 giorni
4,7 (84 valutazioni)
6,4
6,4
7 freelance hanno fatto un'offerta media di €161 EUR
Avatar dell'utente
Hello Sir, Can i have more detail please? I am willing to start right away. Please check my profile for work and experience. Regards Hardeep
€200 EUR in 2 giorni
5,0 (319 valutazioni)
7,0
7,0
Avatar dell'utente
Hi, I can integrate the Google Fit & OAuth 2 API in php to show the daily steps for the whole week. I have 3 years of web design and development experience. Please message me for further discussion.
€90 EUR in 3 giorni
5,0 (16 valutazioni)
4,7
4,7
Avatar dell'utente
Hi, there. Hope you are doing well. I am a senior php developer with 5 years of experience in Google fit api. I fully understood your requirement and I am sure that I can do your job perfectly. Reach out to me here on freelancer and we can talk details. Looking forward to hearing from you soon. Regards. Dmitry
€200 EUR in 2 giorni
5,0 (1 valutazione)
3,6
3,6
Avatar dell'utente
Hi , I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations. So I can complete your project on time and within your budget. If you award me the project, i'd be very happy to discuss this further and get started for you as soon as possible. Thanks!
€140 EUR in 7 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: SWEDEN
Moelndal, Sweden
0,0
0
Metodo di pagamento verificato
Membro dal set 8, 2020

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.