tron5000 / healthgraphnet Goto Github PK
View Code? Open in Web Editor NEWA .NET library for interacting with RunKeeper's HealthGraph API.
License: Apache License 2.0
A .NET library for interacting with RunKeeper's HealthGraph API.
License: Apache License 2.0
After installing HealthGarphNet1.0, I found it depends on RestSharp 103.4.0, which is very old and release in 2012. If I have other API need to be called in the same project, but which is depends on RestSharp 105 version, I do not know how to make sure there is no conflict between them.
I have forked your repo and added support of Android, iOS, PCL. Moved to using RestSharp.Portable. Would you consider merging those changes and publish new nuget packages? I can help creating the nuspec files or even upload packages if you give me rights to the package :) If these changes against your concept or if this project is not maintained further, I'll have to modify my fork and publish packages under a different name.
Anyway, thank you for such a great work.
After using the latest library, two functions do not work on in my project:
log weight
WeightPastModel weightUpdate = new WeightPastModel();
weightUpdate.Weight = double.Parse(150);
WeightPastModel weightModel = new WeightPastModel();
var activitiesRequest = new WeightEndpoint(tokenManager, user);
weightModel = await activitiesRequest.UpdateWeight(weightUpdate);
return weightModel;
I got Response status code does not indicate success: 405 (Method Not Allowed).
add note
CommentsNewModel comment = new CommentsNewModel();
comment.Comment = note;
var commentRequest = new CommentThreadsEndpoint(tokenManager);
var activitiesRequest = new FitnessActivitiesEndpoint(tokenManager, user);
FeedModel<FitnessActivitiesFeedItemModel> feedpage;
feedpage = await activitiesRequest.GetFeedPage();
foreach (var item in feedpage.Items)
{
if (item.Type.ToString().ToLower().Contains("run"))
{
await commentRequest.CreateComment(comment, item.Uri);
result = "True";
break;
}
}
return result;
I got Response status code does not indicate success: 415 (Unsupported Media Type)
Getting issues with NuGet or compile from scratch:
An exception of type 'System.MissingMethodException' occurred in HealthGraphNet.dll but was not handled in user code
Additional information: Method not found: 'Void RestSharp.RestClient.set_BaseUrl(System.Uri)'.
Hi,
I've been using your library to build my own little web application that will display the running status of a group of friends. The approach i had was to create a dummy user on runkeeper then have all the competeing members friends to this user.
I would get the user team information from the api but then i need to get individual fitness activities for each of these users.
so i have a team for this user.
var teamRequest = new StreetTeamEndpoint(tokenManager, user);
var team = teamRequest.GetFeedPage();
and then for each StreetTeamFeedItemModel in the team.Items i need to extract the fitness information. The problem is that this StreetTeamFeedItemModel object contains UserId, Name, Profile and Uri of this specific user.
Problem is that no matter how i call the UserEndpoint to get the user with a specific ID i still return the dummy user information.
Does this make any sense? Have you had this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.