GithubHelp home page GithubHelp logo

suchitpuri / evernote-sdk-lua Goto Github PK

View Code? Open in Web Editor NEW

This project forked from koreader/evernote-sdk-lua

0.0 1.0 0.0 268 KB

Unofficial Evernote SDK for Lua

License: Other

Lua 95.58% Makefile 0.17% C 4.26%

evernote-sdk-lua's Introduction

Unofficial Evernote SDK for Lua

Evernote API version 1.25

Overview

This SDK contains Evernote cloud API in Lua language generated from the Thrift interface released by Evernote as well as the thrift runtime library mainly for Lua 5.1 and LuaJIT.

Prerequisites

LuaSocket and LuaSec are required for secure HTTP requests to Evernote. For Ubuntu users you need to install Luarocks first and then install the above two rocks by luarocks through the following commands:

sudo apt-get install luarocks
sudo luarocks install luasocket luasec

Building & Testing

You also need to build some binary objects for the thrift runtime library. A Makefile is provided in the thrift directory to simplify this task.

cd thrift && make

You can test the thrift runtime for both client side and server side with these commands:

cd ../test && lua5.1 ./test_basic_server.lua &
lua5.1 ./test_basic_client.lua

if everything goes right the server and client will both return quietly.

To test evernote client you need the busted test framework which is also provided as a rock in luarocks which can be installed by:

sudo luarocks install busted

You need to obtain a developer token here to test evernote client. After replacing the faked authToken in test_evernote_client.lua with your own developer token just run this command:

cd test && busted test_evernote_client.lua

evernote-sdk-lua's People

Contributors

chrox avatar

Watchers

 avatar

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.