mailin-api / mailin-api-java Goto Github PK
View Code? Open in Web Editor NEWOfficial Sendinblue provided Java wrapper.
License: MIT License
Official Sendinblue provided Java wrapper.
License: MIT License
Thanks for the Java API, it was very handy for getting an SMS framework up and running.
However, I've tried sending emojis using unicode characters in Java (e.g. \uD83D\uDE00) and they show up as a blank space in the SMS message.
Any pointers on handling emojis with this API/code?
Thank you!
Hello,
I've sent an email but i noticed that this was on github.
I am using this part of code using the api :
Mailin http = new Mailin("https://api.sendinblue.com/v2.0","XXXXX");
Map < String, String > attributes = new HashMap < String, String > ();
attributes.put("NAME", "TEST");
attributes.put("SURNAME", "TEST2");
Map < String, Object > data = new HashMap < String, Object > ();
data.put("email", "[email protected]");
data.put("attributes", attributes);
data.put("listid", new int [] {2});
/* data.put("listid_unlink", new int [] {2,5});*/
String str = http.create_update_user(data);
System.out.println(str);
The user is added only in the list i ask for (2) but the other 2 attributes are not set (name and surname)
This is the response :
{"code":"success","message":"User created successfully. ","data":{"id":8794}}
Am i doing something wrong ?
Hello sendinblue team,
since the java library requires another module (aka gson) and copying java classes onto your classpath is just bad style, you should really consider deploying the mailin api in the official maven repositories.
~Karl
What is the license for the source code in this repository?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.