Comments (2)
Okay, so, looking at old versions of the Data Export API, before they supported OR operators, what was the AND operator is now the OR operator. Great! I must have missed this.
Because what you say is true (hash keys are unique) and only OR's may have the same key I will make the following DSL work:
# Two hashes are OR'd together, key/values in a hash are AND'd together
report.filters {:page_path => 'index'}, {:page_path => 'home'}
from garb.
Garb version 0.7.2 is out with this API solidified.
Here's the documentation for using AND/OR in filtering: http://wiki.github.com/vigetlabs/garb/filtering-with-andor
Let me know if more needs to be done.
from garb.
Related Issues (20)
- Are there plans to implement the new Core Reporting API?
- account.profiles seems to be returning a "invalidRequestUri" HOT 2
- Garb is not working - v2.3 was shutdown HOT 9
- Access via Simple API Access Key HOT 2
- Bug with filters OR HOT 3
- Issue with GA pulling data falling over leap day HOT 1
- Requesting list of segments raises TypeError exception HOT 1
- 404 on the README HOT 1
- undefined method `contains' for :page_path:Symbol HOT 3
- Using multiple filters doesn't work as expected HOT 2
- Syntax for the Segments HOT 1
- Metric collection
- Garb::Request::Authentication::AuthError
- Link to Google Analytics API
- Unable to authenticate with simple login(?) HOT 19
- Analytics API deprecated (?) HOT 1
- Conflict with right_http_connection gem
- Getting "Requested 15 dimensions; only 7 are allowed." often
- Garb fails in Ruby 1.9.3 p392 because of REXML patch HOT 4
- Garb::Management::Account#profiles results in a Garb::DataRequest::ClientError with message "Not Found"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garb.