sathish316 / scrapify

ScrApify is a library to build APIs by scraping static sites and use data as models or JSON APIs. It powers APIfy which is used to create JSON APIs from any html or wikipedia page
http://apify.heroku.com/resources
143 stars 16 forks source link

Attribute data types #27

Open sathish316 opened 12 years ago

sathish316 commented 12 years ago

Support optional datatype for each attribute

Example:

class IMDB
  attribute :title, type: String
  attribute :votes, type: Integer
  attribute :rating, type: Decimal
  attribute :released_data, type: DateTime
end