Skip to content

GetStream/stream-java

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Official Java SDK for Stream Feeds

build

Official Java API client for Stream Feeds, a web service for building scalable newsfeeds and activity streams.
Explore the docs »

JavaDoc · Report Bug · Request Feature

📝 About Stream

You can sign up for a Stream account at our Get Started page.

You can use this library to access feeds API endpoints server-side.

For the client-side integrations (web and mobile) have a look at the JavaScript, iOS and Android SDK libraries (docs).

💡 Note: this is a library for the Feeds product. The Chat SDKs can be found here.

⚙️ Installation

Add the following dependency to your pom.xml:

<dependency>
    <groupId>io.getstream.client</groupId>
    <artifactId>stream-java</artifactId>
    <version>$stream_version</version>
</dependency>

or in your build.gradle:

implementation 'io.getstream.client:stream-java:$stream_version'

In case you want to download the artifact and put it manually into your project, you can download it from here.

Snapshots of the development version are available in Sonatype snapshots repository.

💡This API Client project requires Java SE 7.

🙋 FAQ

  1. Is Android supported?

Yes. Use client for your backend and use CloudClient for your mobile application.

  1. Cannot construct an instance of io.getstream.core.models.*, a model object in android. What is the problem?

If you're using proguard, ensure having following: -keep class io.getstream.core.models.** { *; }

Additionally, we're using Jackson JSON processor and see their definitions too unless you're already using it.

📚 Full documentation

Documentation for this Java client are available at the Stream website.

For examples have a look here.

Docs are available on GetStream.io.

JavaDoc is available here.

🧪 Building & Testing

Run gradlew test to execute integration tests

✍️ Contributing

We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our Contributor License Agreement (CLA) first. See our license file for more details.

🧑‍💻 We are hiring!

We've recently closed a $38 million Series B funding round and we keep actively growing. Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.

Check out our current openings and apply via Stream's website.