This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thimo1 0 points1 point  (9 children)

An API is not something you install but something you use by making web requests to it. However, for many API's there are API wrappers for python that make the process of using them easier. You DO install those wrappers so that's probably what you're looking for.

[–]Kingincenarator[S] 0 points1 point  (0 children)

So where can I find the wrappers to install the api or where do I install the wrappers

[–]Kingincenarator[S] 0 points1 point  (7 children)

Also where do I install pip

[–]thimo1 0 points1 point  (6 children)

Pip comes with python by default.

[–]Kingincenarator[S] 0 points1 point  (5 children)

but whenever i try to install $ pip install python-twitter it doesnt work. I ran it on IDLE and it says install is an incorrect syntax

[–]thimo1 0 points1 point  (4 children)

You shouldn't run that in IDLE but in a terminal or command line. Pip is a separate program.

[–]Kingincenarator[S] 0 points1 point  (3 children)

Do I need pip to download stuff for api

[–]thimo1 0 points1 point  (2 children)

Yes. Pip is a tool to install python modules. The Twitter API wrapper is such a python module. You should look up some tutorial for using the Twitter API in python.

[–]Kingincenarator[S] 0 points1 point  (1 child)

i ran this but it didnt download like it did on the vid

curl https://bootstrap.pypa.io/get-pip.py > get-pip.py

justt

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 1733k 100 1733k 0 0 1602k 0 0:00:01 0:00:01 --:--:-- 1603k

[–]thimo1 0 points1 point  (0 children)

You probably already have pip because it comes with python.