Project

dogshoe

0.0
No commit activity in last 3 years
No release in over 3 years
Modeling backed with scraped website data
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 2.0.0

Runtime

>= 0
 Project Readme

dogshoe

Ruby ORM backed by scraped websites

Say we are given the following HTML on anyotherwebpage.com

<table class="some_class">
  <tr>
    <th>Some Thing</th><th>Some Thing Else</th>
  </tr>
  <tr>
    <td>first value</td><td>1000</td>
  </tr>
  <tr>
    <td>second value</td><td>2000</td>
  </tr>
</table>

Let's stop being polite, and start modeling!

things = DogShoe::Table.find(
  url: 'http://anyotherwebpage.com',
  css: '.some_class'
)

=> [#<DogShoe::Table>, #<DogShoe::Table>]


this.first.some_thing

=> 'first value'