Coder Social home page Coder Social logo

Comments (5)

Botspot avatar Botspot commented on July 4, 2024 3

Wow, ok

how are you going to keep it updated?
Cron?
Manual?
Some github setup thing?

I'll probably run it manually the first few times to ensure reliability. (The whole script is quite complicated and has to partially circumvent some restrictions in the Bitly API)
Then if that goes well I'll probably shove the script path in autostart or something and forget about it.

from pi-apps-analytics.

Botspot avatar Botspot commented on July 4, 2024

What script are you using, could you share it

No, I'm not able to share the entire script - it contains both my Github password and my bitly API key.
Is there anything in particular you want to know about the script?

from pi-apps-analytics.

CleanMachine1 avatar CleanMachine1 commented on July 4, 2024

Wow, ok

how are you going to keep it updated?
Cron?
Manual?
Some github setup thing?

from pi-apps-analytics.

slashtechno avatar slashtechno commented on July 4, 2024

@Botspot Is there any tutorial that teaches this?

Also, do you know how to accomplish this in Python?

from pi-apps-analytics.

Botspot avatar Botspot commented on July 4, 2024

@Botspot Is there any tutorial that teaches this?

Also, do you know how to accomplish this in Python?

I used a bash script, though you could also use python. Basically, you research how to use the Bitly API to determine the number of clicks from a link.
In a bash script, you do this with the curl command. Like I said earlier, I took this a step further and made a script to circumvent Bitly's 30-day limitations, and that is so confusing that even I don't understand how my script works anymore.

For convenience, here's Bitly's official API reference for bitly clicks: https://dev.bitly.com/api-reference#getClicksForBitlink

from pi-apps-analytics.

Related Issues (5)

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.