Giter VIP home page Giter VIP logo

healthgraphnet's People

Contributors

gabornemeth avatar tron5000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

healthgraphnet's Issues

depends on RestSharp 103.4.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.

Support of other platforms

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.

update weight and add note does not work.

After using the latest library, two functions do not work on in my project:

  1. 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).

  1. 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)

Cannot get this working

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)'.

Getting user information based on the team

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.