GithubHelp home page GithubHelp logo

Continuing the Package about forecast HOT 8 OPEN

Craytor avatar Craytor commented on August 25, 2024
Continuing the Package

from forecast.

Comments (8)

Craytor avatar Craytor commented on August 25, 2024

/cc @joecohens

from forecast.

joecohens avatar joecohens commented on August 25, 2024

For now these tasks excellent!

from forecast.

GrahamCampbell avatar GrahamCampbell commented on August 25, 2024

All but tests are done know BTW.

from forecast.

Craytor avatar Craytor commented on August 25, 2024

Thanks a ton @GrahamCampbell. I'm currently writing up some more content in the readme, and I will have a look at tests tomorrow. Am I able to test the app now since it has been rewritten, or will guzzle still be the death of tests?

from forecast.

joecohens avatar joecohens commented on August 25, 2024

Still missing a response object IMO since all the responses have the same output.

from forecast.

Craytor avatar Craytor commented on August 25, 2024

How do they have the same output? ->currently() and ->daily() (for example) will return different things, unless you're referring to something else.

from forecast.

joecohens avatar joecohens commented on August 25, 2024

@Craytor You can mock the client to test it :). I mean same keys

summary: "No precipitation throughout the week, with temperatures peaking at 70°F on Monday.",
icon: "clear-day",
data: [
{
time: 1423728000,
summary: "Partly cloudy throughout the day.",
icon: "partly-cloudy-day",
sunriseTime: 1423753469,
sunsetTime: 1423791970,
moonPhase: 0.78,
precipIntensity: 0,
precipIntensityMax: 0,
precipProbability: 0,
temperatureMin: 53.2,
temperatureMinTime: 1423749600,
temperatureMax: 66.93,
temperatureMaxTime: 1423785600,
apparentTemperatureMin: 53.2,
apparentTemperatureMinTime: 1423749600,
apparentTemperatureMax: 66.93,
apparentTemperatureMaxTime: 1423785600,
dewPoint: 51.14,
humidity: 0.76,
windSpeed: 3.78,
windBearing: 39,
visibility: 8.33,
cloudCover: 0.44,
pressure: 1021.24,
ozone: 275.16
}
]

from forecast.

Craytor avatar Craytor commented on August 25, 2024

So, I would like to finish this up - and add tests. Any suggestions?

/cc @joecohens @GrahamCampbell

from forecast.

Related Issues (1)

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.