Giter Site home page Giter Site logo

Comments (1)

103sbavert avatar 103sbavert commented on May 25, 2024

I admit I didn't investigate thoroughly by myself, but I have some questions. First, do you plan to implement support for other dictionaries? For instance wiktionary (supposing they have an API)?

No such plans so far but if you can give me a good reason to support multiple dictionary APIs then I might do it.

And could you give me some clue how such support could be added to your application (for a non-mobile dev)?

You either use custom parsing of JSON to a model class or use some library for the language you're using (for example Java devs
use GSON or Moshi and Kotlin devs usually prefer Moshi). Basically this is the cycle -:

  • HTTP get request to the server with information about the word that the user has input in your dictionary app (such as the language and the word's text itself)
  • The server returns a response in form of a Response object which contains the JSON body as a String. You convert that String to a your model class using one of the JSON parsing library.
  • You use your object instance of the model class to show the data in the UI

from jada.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.