Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Sensis/sensis-api

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sensis API

Overview

This project is intended to ease development when using Sensis Search API (SAPI). There are two modules contained within the project:

  • Sensis API Model
  • Sensis API Service

Sensis API Model

POJO representations of the JSON result returned from SAPI. Usage:

        java.net.URL url = new java.net.URL(getEndpoint() + "?key=" + key +
            "&query=" + java.net.URLEncoder.encode(keyword, "UTF-8") +
            "&location=" + java.net.URLEncoder.encode(location, "UTF-8"));
        HttpURLConnection connection = = (HttpURLConnection) url.openConnection();
        ObjectMapper objectMapper = JacksonObjectMapperFactory.create();
        InputStream inputStream = connection.getInputStream();
        return objectMapper.readValue(inputStream, SearchResult.class);

Sensis API Service

About

Helpers for Sensis API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.