{ "info": { "author": "Evernote Corporation", "author_email": "api@evernote.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Topic :: Software Development :: Libraries" ], "description": "Evernote SDK for Python\n============================================\n\nEvernote API version 1.25 \n\nThis SDK is intended for use with Python 2.X\n\nFor Evernote's beta Python 3 SDK see https://github.com/evernote/evernote-sdk-python3\n\nOverview\n--------\nThis SDK contains wrapper code used to call the Evernote Cloud API from Python.\n\nThe SDK also contains a sample script. The code demonstrates the basic use of the SDK for single-user scripts. Real web applications must use OAuth to authenticate to the Evernote service.\n\nPrerequisites\n-------------\nIn order to use the code in this SDK, you need to obtain an API key from http://dev.evernote.com/documentation/cloud. You'll also find full API documentation on that page.\n\nIn order to run the sample code, you need a user account on the sandbox service where you will do your development. Sign up for an account at https://sandbox.evernote.com/Registration.action\n\nIn order to run the client client sample code, you need a developer token. Get one at https://sandbox.evernote.com/api/DeveloperToken.action\n\nGetting Started - Client\n------------------------\nThe code in `sample/client/EDAMTest.py` demonstrates the basics of using the Evernote API, using developer tokens to simplify the authentication process while you're learning.\n\n1. Open `sample/client/EDAMTest.py`\n2. Scroll down and fill in your Evernote developer token.\n3. On the command line, run the following command to execute the script:\n\n ```bash\n $ export PYTHONPATH=../../lib; python EDAMTest.py\n ```\n\nGetting Started - Django with OAuth\n------------------------------------\nWeb applications must use OAuth to authenticate to the Evernote service. The code in sample/django contains a simple web apps that demonstrate the OAuth authentication process. The application use the Django framework. You don't need to use Django for your application, but you'll need it to run the sample code.\n\n1. Install `django`, `oauth2` and `evernote` library. You can also use `requirements.txt` for `pip`.\n2. Open the file `oauth/views.py`\n3. Fill in your Evernote API consumer key and secret.\n4. On the command line, run the following command to start the sample app:\n\n ```bash\n $ python manage.py runserver\n ```\n\n5. Open the sample app in your browser: `http://localhost:8000`\n\nGetting Started - Pyramid with OAuth\n-------------------------------------\nIf you want to use Evernote API with Pyramid, the code in sample/pyramid will be good start.\n\n1. Install the sample project using pip on your command line like this.\n\n ```bash\n $ pip install -e .\n ```\n\n2. Open the file `development.ini`\n3. Fill in your Evernote API consumer key and secret.\n4. On the command line, run the following command to start the sample app:\n\n ```bash\n $ pserve development.ini\n ```\n\n5. Open the sample app in your browser: `http://localhost:6543`\n\n\nUsage\n-----\n### OAuth ###\n```python\nclient = EvernoteClient(\n consumer_key='YOUR CONSUMER KEY',\n consumer_secret='YOUR CONSUMER SECRET',\n sandbox=True # Default: True\n)\nrequest_token = client.get_request_token('YOUR CALLBACK URL')\nclient.get_authorize_url(request_token)\n => https://sandbox.evernote.com/OAuth.action?oauth_token=OAUTH_TOKEN\n```\nTo obtain the access token\n```python\naccess_token = client.get_access_token(\n request_token['oauth_token'],\n request_token['oauth_token_secret'],\n request.GET.get('oauth_verifier', '')\n)\n```\nNow you can make other API calls\n```python\nclient = EvernoteClient(token=access_token)\nnote_store = client.get_note_store()\nnotebooks = note_store.listNotebooks()\n```\n\n### UserStore ###\nOnce you acquire token, you can use UserStore. For example, if you want to call UserStore.getUser:\n```python\nclient = EvernoteClient(token=access_token)\nuser_store = client.get_user_store()\nuser_store.getUser()\n```\nYou can omit authenticationToken in the arguments of UserStore functions.\n\n### NoteStore ###\nIf you want to call NoteStore.listNotebooks:\n```python\nnote_store = client.get_note_store()\nnote_store.listNotebooks()\n```\n\n### NoteStore for linked notebooks ###\nIf you want to get tags for linked notebooks:\n```python\nlinked_notebook = note_store.listLinkedNotebooks()[0]\nshared_note_store = client.getSharedNoteStore(linked_notebook)\nshared_notebook = shared_note_store.getSharedNotebookByAuth()\nshared_note_store.listTagsByNotebook(shared_notebook.notebookGuid)\n```\n\n### NoteStore for Business ###\nIf you want to get the list of notebooks in your business account:\n```python\nbusiness_note_store = client.get_business_note_store()\nbusiness_note_store.listNotebooks()\n```\n\n### References ###\n- Evernote Developers: http://dev.evernote.com/\n- API Document: http://dev.evernote.com/documentation/reference/\n\n\nKnown Issues\n------------\n### Regular expressions ###\nIn general, the [\"re\" regex module](http://docs.python.org/2/library/re.html) doesn't handle some of our regular expressions in [Limits](https://github.com/evernote/evernote-sdk-python/blob/master/lib/evernote/edam/limits/constants.py), but [re2](https://pypi.python.org/pypi/re2/) does.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://dev.evernote.com", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "evernote", "package_url": "https://pypi.org/project/evernote/", "platform": "", "project_url": "https://pypi.org/project/evernote/", "project_urls": { "Homepage": "http://dev.evernote.com" }, "release_url": "https://pypi.org/project/evernote/1.25.3/", "requires_dist": null, "requires_python": "", "summary": "Evernote SDK for Python", "version": "1.25.3" }, "last_serial": 3339774, "releases": { "1.14": [ { "comment_text": "", "digests": { "md5": "2962258080c4277b552788ca6be7c973", "sha256": "19cff01953768a8ca94d04f305592350425e1c3878b113e3e747f2e5696c3ad7" }, "downloads": -1, "filename": "evernote-1.14.tar.gz", "has_sig": false, "md5_digest": "2962258080c4277b552788ca6be7c973", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 162615, "upload_time": "2010-04-09T18:33:07", "url": "https://files.pythonhosted.org/packages/49/cb/758f11d7c7a28928c2586d4c7038262b0486eb29a026714ebfa299b2c78f/evernote-1.14.tar.gz" } ], "1.19": [ { "comment_text": "", "digests": { "md5": "f6612ddb8d037938e482db67641cea43", "sha256": "3f4059c24c9cd9b5327643b0b9d7a394f53d1a27a2c3e666e03b8c1ece1523c2" }, "downloads": -1, "filename": "evernote-1.19.tar.gz", "has_sig": false, "md5_digest": "f6612ddb8d037938e482db67641cea43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 188756, "upload_time": "2011-10-24T17:34:32", "url": "https://files.pythonhosted.org/packages/26/eb/7f3fff2162fdc7055e243901cc3388f00e5955876c2f3cb3748ae45b1754/evernote-1.19.tar.gz" } ], "1.22.0": [ { "comment_text": "", "digests": { "md5": "ef6a8d1d743c073605f7b75d94029740", "sha256": "94f1d360d8bd265d4ad40d36566bb9ad42090eb3f4754e2927a3e3a89ea5c8a6" }, "downloads": -1, "filename": "evernote-1.22.0.tar.gz", "has_sig": false, "md5_digest": "ef6a8d1d743c073605f7b75d94029740", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 123778, "upload_time": "2012-11-21T22:16:02", "url": "https://files.pythonhosted.org/packages/8b/48/cd2c9e9185b8bbf28763f34d38edd9b4e9c13c5aae494610c3087578e603/evernote-1.22.0.tar.gz" } ], "1.23.0": [ { "comment_text": "", "digests": { "md5": "072200e4f39a625b9a826369139c7a93", "sha256": "42880a652745cabcf242bfd8dbffc7c1a6a4f10598d9ae7bd1d1427e9d9ed9dc" }, "downloads": -1, "filename": "evernote-1.23.0.tar.gz", "has_sig": false, "md5_digest": "072200e4f39a625b9a826369139c7a93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 129609, "upload_time": "2012-12-17T02:33:38", "url": "https://files.pythonhosted.org/packages/65/f7/0394f933d498568d7d2bb270d60ab7fc3b87b13f3d8adad60e1a53daa38f/evernote-1.23.0.tar.gz" } ], "1.23.1": [ { "comment_text": "", "digests": { "md5": "a1d57a4f8f9e0154b0788976ad672007", "sha256": "a6c5099490749e2196be3083b4cdbb22fb168558ede76c9a50dcffcf751ccd32" }, "downloads": -1, "filename": "evernote-1.23.1.tar.gz", "has_sig": false, "md5_digest": "a1d57a4f8f9e0154b0788976ad672007", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 132649, "upload_time": "2013-02-01T09:46:54", "url": "https://files.pythonhosted.org/packages/24/22/9f5bc3664b006e5fc1adcd142eee9b9739fa37ea638c7aab7ee2d9515b1c/evernote-1.23.1.tar.gz" } ], "1.23.2": [ { "comment_text": "", "digests": { "md5": "5a96764d7e1e76b6e7bf5897285e64ba", "sha256": "3762858c27dafd3c79d18174a69e77bdc584057cea0298cab8caafcc9c074215" }, "downloads": -1, "filename": "evernote-1.23.2.tar.gz", "has_sig": false, "md5_digest": "5a96764d7e1e76b6e7bf5897285e64ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 132793, "upload_time": "2013-02-26T19:04:12", "url": "https://files.pythonhosted.org/packages/9f/25/2d15ec1eebed775b1866f04afa032664f0a8ac5e96fc39312ef52d8f9b46/evernote-1.23.2.tar.gz" } ], "1.24.0": [ { "comment_text": "", "digests": { "md5": "ee65cdf673e7b183ecf6e1affd95f5e5", "sha256": "1f2027c77b28565f932f50afcc1cce22aa509043002d15a3c7aa35b1859e9b26" }, "downloads": -1, "filename": "evernote-1.24.0.tar.gz", "has_sig": false, "md5_digest": "ee65cdf673e7b183ecf6e1affd95f5e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136109, "upload_time": "2013-05-03T06:43:09", "url": "https://files.pythonhosted.org/packages/aa/51/e3585935e4d0a71ad3795a061ce52c94f4c69a851a1fe8441432582f9842/evernote-1.24.0.tar.gz" } ], "1.25.0": [ { "comment_text": "", "digests": { "md5": "6b064131f5e1bdc2194f52798fd2270f", "sha256": "4d801dde4c300931996f4b93ba4a41ab280048a80a7e598800a38c789d7994d3" }, "downloads": -1, "filename": "evernote-1.25.0.tar.gz", "has_sig": false, "md5_digest": "6b064131f5e1bdc2194f52798fd2270f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 140770, "upload_time": "2013-06-12T20:11:10", "url": "https://files.pythonhosted.org/packages/a7/72/48c232d5d314450a6674d96ab290a9b6fb0113bbc76a637042ab17380895/evernote-1.25.0.tar.gz" } ], "1.25.1": [ { "comment_text": "", "digests": { "md5": "4e4e34caa4cc95b1a3c08e666c44425f", "sha256": "6f9838307e28819954c18b92eed5616b91aa4b2230c2ee325f44d97cde9d12a8" }, "downloads": -1, "filename": "evernote-1.25.1.tar.gz", "has_sig": false, "md5_digest": "4e4e34caa4cc95b1a3c08e666c44425f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 140815, "upload_time": "2015-06-02T23:44:12", "url": "https://files.pythonhosted.org/packages/d1/39/2890d072ace1277471c92bc110780324d8ff964e36bf1f85fb591192edf1/evernote-1.25.1.tar.gz" } ], "1.25.2": [ { "comment_text": "", "digests": { "md5": "e7bfe937a2636ec24f08bb66b4653133", "sha256": "69212c161e2538db13dd34e749125ff970f6c88aaa5f52f6925ffcf883107302" }, "downloads": -1, "filename": "evernote-1.25.2.tar.gz", "has_sig": false, "md5_digest": "e7bfe937a2636ec24f08bb66b4653133", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 141253, "upload_time": "2016-07-13T00:06:42", "url": "https://files.pythonhosted.org/packages/3b/8e/dba34913e7dbccd868cdf228c5104f97ad97d4618994f0c5dd456496ae81/evernote-1.25.2.tar.gz" } ], "1.25.3": [ { "comment_text": "", "digests": { "md5": "b85637da6c3cd74670e80c79eedf8f66", "sha256": "796847e0b7517e729041c5187fa1665c3f6fc0491cb4d71fb95a62c4f22e64eb" }, "downloads": -1, "filename": "evernote-1.25.3.tar.gz", "has_sig": false, "md5_digest": "b85637da6c3cd74670e80c79eedf8f66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 141196, "upload_time": "2017-11-16T21:14:02", "url": "https://files.pythonhosted.org/packages/f9/6b/877f8edef8ef040d32eb38f3bf6322ba334de9d10614d8db9d869c162fc1/evernote-1.25.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b85637da6c3cd74670e80c79eedf8f66", "sha256": "796847e0b7517e729041c5187fa1665c3f6fc0491cb4d71fb95a62c4f22e64eb" }, "downloads": -1, "filename": "evernote-1.25.3.tar.gz", "has_sig": false, "md5_digest": "b85637da6c3cd74670e80c79eedf8f66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 141196, "upload_time": "2017-11-16T21:14:02", "url": "https://files.pythonhosted.org/packages/f9/6b/877f8edef8ef040d32eb38f3bf6322ba334de9d10614d8db9d869c162fc1/evernote-1.25.3.tar.gz" } ] }