Permalink
Browse files

Adding a LICENSE

  • Loading branch information...
1 parent bcfb9c8 commit b1ff6dcaadfed96c9e73a3bd8761065d788ed126 @paulosman paulosman committed Nov 23, 2012
Showing with 30 additions and 5 deletions.
  1. +23 −0 LICENSE
  2. +7 −5 README.rst
View
@@ -0,0 +1,23 @@
+Copyright (c) 2012, SoundCloud Ltd., Paul Osman <osman@soundcloud.com>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer. Redistributions
+in binary form must reproduce the above copyright notice, this list of
+conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution. THIS SOFTWARE IS
+PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -25,7 +25,7 @@ passing at a minimum the client id you obtained when you `registered
your app`_: ::
import soundcloud
-
+
client = soundcloud.Client(client_id=YOUR_CLIENT_ID)
The client instance can then be used to fetch or modify resources: ::
@@ -58,7 +58,7 @@ this, you can use one of the following OAuth2 authorization flows.
**Authorization Code Flow**
-The `Authorization Code Flow`_ involves redirecting the user to soundcloud.com
+The `Authorization Code Flow`_ involves redirecting the user to soundcloud.com
where they will log in and grant access to your application: ::
import soundcloud
@@ -181,15 +181,17 @@ To run the tests, run: ::
$ pip install -r requirements.txt
$ nosetests --with-doctest
..................
-
+
Success!
Contributing
------------
Contributions are awesome. You are most welcome to `submit issues`_,
-`discuss soundcloud-python`_ or `fork the repository`_.
+or `fork the repository`_.
+
+soundcloud-python is published under a `BSD License`_.
.. _`submit issues`: https://github.com/soundcloud/soundcloud-python/issues
-.. _`discuss soundcloud-python`: https://groups.google.com/group/soundcloudapi
.. _`fork the repository`: https://github.com/soundcloud/soundcloud-python
+.. _`BSD License`: https://github.com/soundcloud/soundcloud-python/blob/master/README

0 comments on commit b1ff6dc

Please sign in to comment.