Giter Site home page Giter Site logo

Comments (2)

JamesMarcogliese avatar JamesMarcogliese commented on August 30, 2024

Just for consideration: It would be beneficial in terms of speed to have as much text in a smstext as possible since each sent smstext takes 4 seconds minimum regardless of characters.

from sms-info-system.

shgaurav avatar shgaurav commented on August 30, 2024

@JamesMarcogliese I am working on this issue. I have managed to split results for weather api. Right now the api returns current weather and 3 days forecast. Thus, It makes sense to split current weather in one message and the 3 day forecast in another. For now, I am able to split by using a slash and then doing a split. This method works for weather api. However, with api's that use a loop to iterate and merge data variables. The slash method does not work as of yet. This is simply because the final string ends up having multiple slashes depending on how many times the for loop iterates. I will be trying to see if i can count and split depending on how many slashes are available in the result string. If (slash ==3) then split into 3 different variables. This method will only work if one places result or 1 step fits in one message. If lets say details about a single place goes over 160 character issue. It would split again which makes this whole process irrelevant.

from sms-info-system.

Related Issues (20)

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.