Giter Site home page Giter Site logo

practical-data-science / gapandas4 Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 5.0 30 KB

GAPandas4 is a Python package for querying the Google Analytics Data API for GA4 and displaying the results in a Pandas dataframe.

License: MIT License

Python 100.00%

gapandas4's People

Contributors

flyandlure avatar practical-data-science avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

gapandas4's Issues

filters usage

hi guys!
thank you for ur library.
it works great.

it could benefit a bit from test coverage and examples.
i actually cant find the example for passing filters to report configs

request arguments parsing issues

calling gp.query with arguments
metrics=["conversions:load_lobby"]
seems it was auto-parsed from x: y into x[y] format

traceback:

/usr/bin/python3 /Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py --multiprocess --qt-support=auto --client 127.0.0.1 --port 64789 --file /Users/v0/Py/sidus/airflow-dag/main_ga_visitors.py
Unable to load extension pydevd_plugins.extensions.types.pydevd_plugin_pandas_types
Connected to pydev debugger (build 223.8617.48)
Traceback (most recent call last):
File "/Library/Python/3.8/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
return callable_(*args, **kwargs)
File "/Library/Python/3.8/site-packages/grpc/_channel.py", line 1030, in call
return _end_unary_response_blocking(state, call, False, None)
File "/Library/Python/3.8/site-packages/grpc/_channel.py", line 910, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Metric names must only contain letters, numbers, or _. Received a metric name = conversions[click_play]"
debug_error_string = "UNKNOWN:Error received from peer ipv4:142.251.36.42:443 {created_time:"2023-08-21T11:50:19.239056+04:00", grpc_status:3, grpc_message:"Metric names must only contain letters, numbers, or _. Received a metric name = conversions[click_play]"}"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Library/Python/3.8/site-packages/google/api_core/grpc_helpers.py", line 74, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.InvalidArgument: 400 Metric names must only contain letters, numbers, or _. Received a metric name = conversions[click_play.sidusheroes.com]
python-BaseException

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.