IneaRjWaterQualityClient

marola.water.IneaRjWaterQualityClient
See theIneaRjWaterQualityClient companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Bulletin(url: String, date: LocalDate)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def bulletins(pageHtml: String): List[Bulletin]

The filename date, not the PDF's own header: Niterói's 24-09-26 bulletin is headed "2025".

The filename date, not the PDF's own header: Niterói's 24-09-26 bulletin is headed "2025".

Attributes

def coversOrigin(origin: Coordinates): Boolean

Rough bounding box of Rio de Janeiro state's coast — used by AppConfig to auto-select this provider.

Rough bounding box of Rio de Janeiro state's coast — used by AppConfig to auto-select this provider.

Attributes

def toSamplingPoints(pdfBytes: Array[Byte], bulletinDate: LocalDate): List[SamplingPoint]

Pure; unit-tested against the real fixture PDFs (IneaRjWaterQualityClientSpec).

Pure; unit-tested against the real fixture PDFs (IneaRjWaterQualityClientSpec).

Attributes

Concrete fields

val CityPages: List[String]