Giter VIP home page Giter VIP logo

piwik-python-api's Introduction

piwik-python-api's People

Contributors

andrewschoen avatar bre-17387639 avatar dromax avatar mattab 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  avatar

piwik-python-api's Issues

The API is a mess

To track a single request with the API requires far too much work and too many API calls. It needs a more elegant, pythonic interface.

Support to create custom dimensions

Looks like custom variables are supported in the tracking API whereas newer custom dimensions are not. I would be happy to help out and raise a PR if this client is still worked upon.

set_ip ignored ?

I just tested piwikapi on a view, and although I'm following cloasely the basic example, the IP is not transmitted , the log always shows the tracked site IP.
Here is the view

def tagview(request, slug):
    tag = get_object_or_404(Tag, slug=slug)
    pt = PiwikTracker(1, request)
    pt.set_api_url('http://stats.myserver.com/piwik.php')
    pt.do_track_page_view("Tag : %s" % tag.name)
    pt.set_ip(request.META['REMOTE_ADDR'])
    pt.set_token_auth('xxxxxxxxxxxx')
    rdict = {'tag': tag}
    return render_to_response('tag.html', rdict, RequestContext(request))

First I created a Piwik user, but forgot to give him admin rights
Now the user has admin rights over the tracked site, his token changed and I modifed it in the code, but I'm still getting only the site's IP
The IP passed is correct, it's just like if it's ignored

Any clue to where I should look at first ?

Mark project as unmaintained

Due to github not allowing me to reopen #13 I open a new issue, because I won't be able to dedicate the necessary time to maintain this project.

Actually, I'd suggest a complete rewrite. It was my first API, it's a mess, it's modeled after the PHP tracking class and as such it's not pythonic.

Thanks for all the support from Piwik HQ.

LICENSE

Is this supposed to be open source? LICENSE file doesn't indicate that.

is the API updated?

hi @andrewschoen @nkuttler,

looking at the date of the last commit I noticed that the last date for 2 years for that I just wanted to know if the package is updated with the API(matomo) or not.

Marking this project as unmaintained?

Hello there!

In an effort to make it easier for users to understand which options are available to them we are considering marking this project as unmaintained/deprecated. The reason for this is that there are been no activity here for 2 years and we don't know if the project still work at all (the build fails), so we are afraid that users might want to use it but be left confused and without support if things do not work.

By explaining to users that this project is unmaintained, they can still try to use it but they would be at least aware of the situation.

Of course the project could be revived anytime if somebody wants to do it.

Is there anyone here that thinks this is a bad idea? Or anyone that would like to start maintaining this project again?

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.