Skip to content

Commit b13756b

Browse files
author
Özgür Vatansever
committed
setup.py and readme fixes
1 parent 930ee86 commit b13756b

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# Python LinkedIn
22

3-
4-
**THIS PACKAGE IS IN DEVELOPMENT PHASE. USE ACCORDINGLY**
5-
63
Python interface to the LinkedIn API
74

85
[![LinkedIn](http://developer.linkedin.com/sites/default/files/LinkedIn_Logo60px.png)](http://developer.linkedin.com)
96

107
This library provides a pure python interface for the LinkedIn **Connection**, **Profile**, **Search**, **Status**, **Messaging** and **Invitation** APIs.
118

12-
[**LinkedIn**](http://developer.linkedin.com) provides a service that lets people bring their LinkedIn profiles and networks with them to your site or application via their OAuth based API. This library provides a lightweight interface over a complicated LinkedIn OAuth based API to make it for python programmers easy to use.
9+
[LinkedIn](http://developer.linkedin.com) provides a service that lets people bring their LinkedIn profiles and networks with them to your site or application via their OAuth based API. This library provides a lightweight interface over a complicated LinkedIn OAuth based API to make it for python programmers easy to use.
1310

1411
## Installation
1512

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Python LinkedIn
22
=================
33

4-
**THIS PACKAGE IS IN DEVELOPMENT PHASE. USE ACCORDINGLY**
5-
64
Python interface to the LinkedIn API
75

86
This library provides a pure python interface for the LinkedIn **Connection**, **Profile**, **Search**, **Status**, **Messaging** and **Invitation** APIs.
@@ -36,12 +34,14 @@ Quick Usage From Python Interpreter
3634
For testing the library using an interpreter, use the quick helper.
3735

3836
.. code-block:: python
37+
3938
from linkedin import helper
4039
api = helper.quick_api(<Your KEY>, <Your SECRET>)
4140
4241
This will print a url to the screen. Go into this URL using a browser, after you login, the method will return with an API object you can now use.
4342

4443
.. code-block:: python
44+
4545
api.get_profile()
4646
4747
Usage
@@ -50,6 +50,7 @@ Usage
5050
You can use **http://localhost** as the return url. Return URL is a url where LinkedIn redirects the user after he/she grants access to your application.
5151

5252
.. code-block:: python
53+
5354
from linkedin import linkedin
5455
5556
RETURN_URL = 'http://localhost'
@@ -61,6 +62,7 @@ You can use **http://localhost** as the return url. Return URL is a url where Li
6162
When you grant access to the application, you will be redirected to the return url with the following query strings appended to your RETURN_URL:
6263

6364
.. code-block:: python
65+
6466
http://localhost/?oauth_token=0b27806e-feec-41d4-aac5-619ba43770f1&oauth_verifier=04874"
6567
6668

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
from linkedin import __version__
1010

1111

12-
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
12+
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
1313
long_description = readme.read()
1414

1515

16-
setup(name='python-linkedin',
16+
setup(name='py-linkedin',
1717
version=__version__,
1818
description = 'Python Interface for the LinkedIn API',
1919
long_description=long_description,

0 commit comments

Comments
 (0)