0

Have anybody example of getting earnings information of odesk authenticated user, in Rails ? How to implement this? I use odesk-api gem

4

1 回答 1

0

我通过这个检索到的所有必要数据

client = get_client(token, secret) #already authenticated client
profile_url = auth.get_user_info['profile_url']
profile_key = profile_url.split('/').last
p "profile_key found: #{profile_key}"
freelancers = Odesk::Api::Routers::Freelancers::Profile.new(client)
specific_data = freelancers.get_specific(profile_key)
于 2015-03-23T12:22:11.940 回答