Comments (3)
This is dependent on Issue #9 so transport API is properly formed.
from java-sparkpost.
@yepher did you talk about this approach with @richleland ? We are trying to get away from building an SDK with API parity.
from java-sparkpost.
No I did not although I did hear him mention that yesterday. I guess I interpreted 'Partiy" as direct API parity example and not SDK parity examples.
What I am trying to figure out is what the best bang for the buck samples would be. I have a few ideas but need a good place to start. Both Cole and Nancy mentioned the current sample (or lack there of) in the previous code review so I thought it warranted an issue.
Maybe this issue should become what examples should be implemented first. I have a little more work on the lib layer but then will move on to creating some samples.
I believe some compulsory samples are:
- Simple Transmission
- How to send an Attachment in an RFC822
Most users of the SDK will need to do at least the first one. I have ready made code in Ruby and Java for the second so might as well add it.
A more advanced sample and might be fun to code up. I am thinking pull each template from SparkPost and thumbnail each preview to show in a list. If user select the thumbnail they are taken to a way to step through a list of data to see what the email would look like in a web view and/or text view. This obviously is a much bigger piece of work than the items listed above. Here is a quick mockup wireframe of what I was thinking. I would probably create a iOS/Mac Application version first because it would be a lot easier to do there first before trying to write in Java.
This is just a brain dump. I am very open to feedback on what to do once the lib is ready to have sample written against it.
from java-sparkpost.
Related Issues (20)
- Log4j critical vulnerability!! HOT 4
- SuppressionList update endpoints throw com.google.gson.JsonSyntaxException
- RestConnection does not honor Client base URL
- Upgrade to Log4J 2.17.1
- Webhook events no longer derive from AbstractWebhookEvent, making getting type more difficult
- Webhook fields initial_pixel and open_tracking are presented as int, rather than boolean in event classes, making deserialization harder
- GSON error when calling insertOrUpdate or insertOrUpdateBulk
- Add 'template_id' key in X-MSYS-API Custom Header
- SparkPost/Java
- Add ability to GZIP post data HOT 1
- Switch to using SLF4J HOT 2
- Webhook active property missing from model HOT 2
- Webhook properties are out of date HOT 1
- attach pdf HOT 2
- Webhook resource is missing /validate endpoint
- SparkPost Java API Suppression list limitations HOT 1
- event webhook - handle ping events
- Message Event API ending point changed - please update HOT 1
- TransimisionBase should allow other types than String for Metadata value HOT 2
- Subaccount CRUDs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-sparkpost.