Git Product home page Git Product logo

libtvdb's Introduction

Description:

  libtvdb may someday become a useable C library implementation of The TVDB.com API (http://thetvdb.com/wiki/index.php?title=Programmers_API).  Or, it may just be something I waste a few hours on and never make anything useful of!

  It's usually tested on Windows XP 32 bit and Ubuntu 32 & 64 bit but you may find it in a broken state at any given moment.  It's still in very early development.  If it's broken, try moving the HEAD back until you find a working commit to play with...or, help me fix what's broken.  :-)

  Currently, it should work well enough to retrieve mirrors, server time, and a list of series from a name (e.g., "xfiles" currently returns info on three xfiles related series).  The core libtvdb functions return just the raw XML string or save a zip file from TVDB.com.  You can either use your own XML parser or you can use libtvdb functions that parse the XML into libtvdb data structs (e.g., linked list, buffer, etc.).

  There are still API functions that need to be added.  And, in the future, I hope to add functionality to unzip files from TVDB.com and parse the contents.

Goals:

- Cross platform ANSI C (minimum: Linux, Windows and Mac)
- Build as static or shared library (32 or 64 bit)
- Keep dependencies to a minimum (but don't reinvent the wheel)
- Open source with MIT license
  
Build:

CMake 2.8 or higher is required as well as libCURL and libxml2.

tvdb builds as a static lib by default but can be built as a shared lib (.so or .dll, for example) by running CMake with the following option...

cmake -DSHARED_LIB:BOOL=ON ..

  Windows:

    - Edit INCLUDE and LIB environment variables to include the libCURL and libxml2 paths.  Eventually libxml2 will be optional but for now it's required.
    

My branch breaks compatibility with Windows as far as I know, since I don't have a Windows machine to test on.
Please look at the commits for the main branch to get the Windows compatible source.
I did the development and testing of this branch on Ubuntu 64 bit.

libtvdb's People

Contributors

dgnorton avatar

Watchers

Paul Honig avatar James Cloos 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.