imdbsmws

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2019 License: MIT Imports: 27 Imported by: 0

README

IMDb Simple Movies WebService

IMDb Simple Movies WebService (imdbsmws) is Simple RESTful API Web Service Server that manages and retriving titles data from imdb.com

Setup

  • Build from sources or download precompiled releases.
  • For using precompiled binaries, just download version that match with your OS, then extract to someplace.
  • Launching server by running imdbsmws (imdbws32.exe or imdbws64.exe for precompiled Windows binary).
  • After running, visit admin panel at http://localhost:33666/admin to manage server.
  • For first time login, username is admin and password is admin.
  • For first time use, you'll need importing data from IMDb datasets.

Import Data from IMDb

  • To import, visit admin panel, then select Import menu.
  • You can specify datasets, filters at your preference (if you don't have any idea, just leave it :p )
  • Press Import button to run Importing process, please wait until finished.
  • After successfull import, you should get movies list in Movie List menu.

API Endpoints

/movies (Method GET) -> to get Movie List stored in your database.
/movies/{titleId} (Method GET) -> to get individual Movie information.
/movies (Method POST) -> to post new movie entry.
/movies/{titleId} (Method PUT) -> to edit existing movie entry.
/movies/{titleId} (Method DELETE) -> to delete existing movie entry.

Build From Sources

You need Go Compiler and Mingw64 GCC (or TDM GCC for simpler to setup), as needed by SQLite. Make sure Go and GCC placed in PATH environment (TDM GCC Installer will do this automatically). Then run go build -i -v github.com/thiekus/imdbsmws to compile. For compilation in windows, just edit and use win32_build.bat or win64_build.bat scrtipt.

Screenshots

Screenshoot Screenshoot Screenshoot Screenshoot

License

This application is Licensed under MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL