Git Product home page Git Product logo

tabelog-searcher's Introduction

tabelog-searcher

tabelog-searcher's searchable area is Japan.

Usage

extern crate tabelog_searcher;
use tabelog_searcher::TabelogClient;

fn main() {

    let result = TabelogClient.search("渋谷", "ラーメン");
    
    match result.is_empty() {
        true  => println!("not found."),
        false =>
            for url in result {
                println!("{}", url);
            }
    }
}

Support area

  • Japan

License

tabelog-searcher is available under the MIT and Apache 2.0 license. See the LICENSE file.

tabelog-searcher's People

Contributors

atsushi130 avatar

Watchers

James Cloos avatar  avatar

tabelog-searcher's Issues

Support other than Tokyo

Change scraping source to:

https://tabelog.com/rst/rstsearch/?LstKind=1&voluntary_search=1&lid=top_navi1&sa=&sk={word}&vac_net=&&svd={yyyyMMdd}&svps=2&svt=2030&hfc=1&form_submit=&area_datatype=RailroadStation&area_id=4698&key_datatype=&key_id=&sa_input={location}

Can search anywhere by using this source.

Implement date manipulation

Now date convert to yyyMMdd.

API design:

Input Output
Detail DateTime of chrono Formatted date time string.
Example Local.ymd(2018, 1, 1).and_hms(0, 0, 0) 20180101

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.