Skip to content

ioncodes/JodelAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

JodelAPI (Not working on this anymore)

forthebadge forthebadge forthebadge

Big thanks to KirschbaumP

Build status Github All Releases NuGet Status Implementation Test status Gitter chat Donate

READ THIS FIRST

I received a message from the Jodel Team, and they would like me to close this repo. We are currently in a discussion with them, if it's possible to let this repo open for educational purposes. However, I'm not allowed to work on this library until I receive their permission
All GET requests are ok to use.

INFO

  • Jodel dropped the captcha support, which means you wont be able to verify new accounts. If you have verified accounts, they will continue to work on 4.47.0, but if you use the 4.48.0 version, they will get unverified again, so use the 4.48.0 branch with caution!

Support

You can show me your love by paying me a coffee :) You can find the PayPal page at the badge bar.

Introduction

This is the carefully reverse-engineered .NET Jodel API in C#. Please feel free to grab the source or compiled library from the link provided below.

This is a Swiss software product and therefore might be awesome!

Binaries and pre-requisites

Let's get right into it!

Create a Jodel object which holds all functions needed:

Jodel jodel = new Jodel(string place, string countrycode, string city, bool createToken = false); // YOU HAVE TO SET YOUR OWN TOKEN

Where 'place' is the place how you would enter the location in Google Maps, 'countrycode' and 'city' are the values that are sent to Jodel! You might have your own token, in that case you can set createToken to false (You have to). If you do this, make sure to set the data found in the AccessToken (Account.AccessToken) class:

jodel.Account.Token.Token = "";
jodel.Account.Token.RefreshToken = "";

Your data is stored in the 'Account' field, which comes from the 'User' class. You can defined a 'User' object yourself and pass it to the Jodel constructor. This gives you extra options, such as setting the 'Location' object yourself (Latitude, Longitude), etc:

User user = new User();
user.Location.Longitude = 13.37;
// ...
Jodel jodel = new Jodel(user);

After creating your 'Jodel' object, you will find all methods you need in there.

A plain list of all supported endpoints can be found here