Skip to content

I can't seem to get it to work fully #45

@spidfire

Description

@spidfire

Hi, I've got some problems
The total_sessions function returns nothing and after a bit hacking did I find the response which is: {"message":"App required."}

crashes seem to work correct

and top_issues has an internal response of {"errors":[{"message":"Internal error"}]}

Do you have any clues where I did go wrong?

My script:


require 'fabricio'

client = Fabricio::Client.new do |config|
    config.username = ENV["FABRIC_USER"]
    config.password = ENV["FABRIC_PASS"]
end
oneweek = 60*60*24*7
threeweeks = oneweek*3
now = Time.now.to_i

puts client.app.total_sessions(appid, (now-threeweeks).to_s, now.to_s, '8.8.2.0 (2030)')
puts client.app.crashes(appid, (now-threeweeks).to_s, now.to_s, ['8.8.2.0 (2030)'])
puts client.app.top_issues(appid, (now-threeweeks).to_s, now.to_s, ['8.8.2.0 (2030)'], 10)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions