You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In its most simple form GoodData gem just cares about the logging in and juggling the tokens that are needed for you to retrive information. It provides you the usual HTTP methods that you are used to. Couple of examples.
39
-
40
-
#### Authentiacation
41
-
42
-
GoodData.connect("login", "pass")
43
-
44
-
# Different server than the usual secure.gooddata.com
This library is able to load data but it is not used that much if at all. Since there is some data processing needed on the client side we rely on faster implementations in Java usually. Let us know if you would be interested. As the APIs improve we could bring it back.
68
-
69
-
#### Other stuff
70
-
71
-
The API is currently a little fragmented and we never had the guts to actually deal with all the ugliness and present nice object oriented API. Usually it is just better to deal with the ugly json as hashes. But there are couple of exceptions where we needed something better and we thought providing an abstraction is worth the hassle.
72
-
73
-
#### Working with obj
74
-
75
-
obj is a resource that is probably the oldest in all GoodData. Obj are all the objects that have something to do with the analytical engine (metrics, attributes, reports etc). You can find the docs here (Add link to apiary). There are coule of convenience methods to work with these
You can export even whole dashboards. Currently afaik reports can be exported either as xls and png and dashboards as pdf. Hopefully it will support more in the future.
108
-
109
-
dash = GoodData::Dashboard[33807]
110
-
File.open('dash.pdf', 'w') do |f|
111
-
f.write(dash.export(:pdf))
112
-
end
113
-
114
-
You can specify which tab to export. By default it is the first
After installing the gooddata gem, GoodData is available from your command line using
124
-
the `gooddata` command. To get a complete overview of possible options type:
125
-
126
-
gooddata help
127
-
128
-
The examples and descriptions below does not cover all the options available via the CLI.
129
-
So remember to refer back to the `help` command.
130
-
131
-
Before you do anything else, a good idea is to see if your account is set up correctly and
132
-
that you can log in. To do this, use the `api:test` command:
133
-
134
-
gooddata api:test
135
-
136
-
#### Authentication
137
-
138
-
As you saw if you ran the above test command <tt>gooddata</tt> will prompt you
139
-
for your GoodData username and password. If you don't wish to write your
140
-
credentials each time you connect to GoodData using <tt>gooddata</tt>, you can
141
-
create a simple gooddata credentials file called <tt>.gooddata</tt> in the root
142
-
of your home directory. To make it easy you can just run the credentials file
143
-
generator command which will create the file for you:
144
-
145
-
gooddata auth:store
146
-
147
-
#### List available projects
148
-
149
-
To get a list of projects available to your GoodData user account, run:
150
-
151
-
gooddata projects
152
-
153
-
The output from the above command will look similar to this:
154
-
155
-
```
156
-
521 Some project
157
-
3521 Some other project
158
-
3642 Some third project
159
-
```
160
-
161
-
The first column contains the project-key. You need this if you wan't to either
162
-
see more details about the project using the `projects:show` comamnd or
163
-
if you wish to delete the project using the `projects:delete` command.
164
-
165
-
#### Create a new project
166
-
167
-
To create a new project under on the GoodData servers, run:
168
-
169
-
gooddata projects:create
170
-
171
-
You will then be asked about the desired project name and summary before it's created.
172
-
173
36
## Note on Patches/Pull Requests
174
37
175
38
* Fork the project.
@@ -182,10 +45,10 @@ You will then be asked about the desired project name and summary before it's cr
182
45
183
46
## Credits
184
47
185
-
This project is developed and maintained by Pavel Kolesnikov [<mailto:pavel@gooddata.com> / [@koles](http://twitter.com/koles)] and Tomas Svarovsky <mailto:svarovsky.tomas@gmail.com>
48
+
This project is developed and maintained by Pavel Kolesnikov [<mailto:pavel@gooddata.com> / [@koles](http://twitter.com/koles)] and Tomas Svarovsky [<mailto:svarovsky.tomas@gmail.com> / [@fluke777](http://twitter.com/fluke777)]
186
49
187
50
Special thanks to Thomas Watson Steen [<mailto:w@tson.dk> / [@wa7son](http://twitter.com/wa7son)]
188
51
189
52
## Copyright
190
53
191
-
Copyright (c) 2010 - 2014 GoodData Corporation and Thomas Watson Steen. See LICENSE for details.
54
+
Copyright (c) 2010 - 2014 GoodData Corporation and Thomas Watson Steen. See LICENSE for details.
0 commit comments