Skip to content

Desktop Client Implemention of Metamug REST API with OK HTTP and Swing.

License

Notifications You must be signed in to change notification settings

metamug/mtg-desktop-okhttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mtg-desktop-okhttp

This project is implemented using Metamug REST API. Checklist API performs CRUD operations.

Technologies used to build this application.

  • Metamug API
  • OK-HTTP
  • JAXB

The content header is set to application/xml to retrieve xml.

Request request = new Request.Builder().url(url1 + "?q=4")
		.addHeader("accept", "application/xml").build();
Response response = client.newCall(request).execute();
JAXBContext jaxbContext = JAXBContext.newInstance(SearchData.class);
Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
SearchData data = (SearchData) jaxbUnmarshaller.unmarshal(response.body().byteStream());

These are the endpoints used.

https://api.metamug.com/checklist/v1.0/threshold

https://api.metamug.com/checklist/v1.0/task

About

Desktop Client Implemention of Metamug REST API with OK HTTP and Swing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages