MediaMiser RESTful API Pull Client

This is a client for MediaMiser's RESTful API pull based streaming mechanism.

License

License

BSD 3-Clause
Categories

Categories

CLI User Interface
GroupId

GroupId

com.mediamiser
ArtifactId

ArtifactId

pull-client
Last Version

Last Version

0.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

MediaMiser RESTful API Pull Client
This is a client for MediaMiser's RESTful API pull based streaming mechanism.
Project Organization

Project Organization

MediaMiser Ltd

Download pull-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.mediamiser/pull-client/ -->
<dependency>
    <groupId>com.mediamiser</groupId>
    <artifactId>pull-client</artifactId>
    <version>0.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.mediamiser/pull-client/
implementation 'com.mediamiser:pull-client:0.0.0'
// https://jarcasting.com/artifacts/com.mediamiser/pull-client/
implementation ("com.mediamiser:pull-client:0.0.0")
'com.mediamiser:pull-client:jar:0.0.0'
<dependency org="com.mediamiser" name="pull-client" rev="0.0.0">
  <artifact name="pull-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mediamiser', module='pull-client', version='0.0.0')
)
libraryDependencies += "com.mediamiser" % "pull-client" % "0.0.0"
[com.mediamiser/pull-client "0.0.0"]

Dependencies

compile (12)

Group / Artifact Type Version
com.mediamiser : pull-model jar 0.0.0
org.glassfish.jersey.core : jersey-client jar 2.6
org.glassfish.jersey.security : oauth1-client jar 2.6
org.glassfish.jersey.media : jersey-media-moxy jar 2.6
javax.ws.rs : javax.ws.rs-api jar 2.0
org.apache.commons : commons-lang3 jar 3.1
com.google.guava : guava jar 14.0.1
commons-collections : commons-collections jar 3.2.1
commons-io : commons-io jar 2.4
org.glassfish.jersey.media : jersey-media-json-processing jar 2.6
javax.ws.rs : jsr311-api jar 0.11
org.slf4j : slf4j-api jar 1.7.7

test (6)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.7
log4j : log4j jar 1.2.17
com.mediamiser : avogadro jar 1.0.3
org.mockito : mockito-core jar 1.10.8
junit : junit jar 4.12
io.takari.junit : takari-cpsuite jar 1.2.7

Project Modules

There are no modules declared in this project.

MediaMiser's pull client

Build Status Coverage Status

MediaMiser's pull client is a client library and demonstration of how to connect to and consumer from MediaMiser's one-legged OAuth1.0a authenticated RESTful spouts resources (i.e. pull connector streams) which deliver social media network metadata.

This library uses a Jersey 2.x-based Java client to access spouts. See the library's API documentation for examples on how to use each utility.

Usage

You can include this project in your own by adding the following dependency to your project's pom.xml file:

<dependency>
  <groupId>com.mediamiser</groupId>
  <artifactId>pull-client</artifactId>
  <version>0.0.0</version>
</dependency>

To test consuming from MediaMiser's APIs:

  1. Edit src/test/resources/configuration.properties to contain your credentials and the MediaMiser API endpoint:

     consumer.key		= <your consumer key>
     consumer.secret		= <your consumer secret>
     access.token.key	= <your access token key>
     access.token.secret	= <your access token secret>
    
  2. Modify or run src/test/java/com/mediamiser/example/Main.java to setup callbacks to handle data as it comes in and start/stop pulling data.

Development

To build this project, your development environment must have installed:

To test locally, check out the repository and use Maven to compile and run the tests:

user@localhost$ git clone https://github.com/MediaMiser/pull-client.git
user@localhost$ cd pull-client
user@localhost$ mvn clean test

Licensing

The MediaMiser Pull Client is licensed under the BSD 3-Clause license.

Authors and Contributors

This project was authored by @samer-albuhaisi and @cfournie at MediaMiser.

com.mediamiser

MediaMiser

Versions

Version
0.0.0