-
Notifications
You must be signed in to change notification settings - Fork 0
mashup6
gaou edited this page Nov 2, 2020
·
4 revisions
Bookmark this
- yves
- おしゃべりっち http://ma6api.mashupaward.jp/entry/70667/
-
人力検索はてなおとなり質問API http://ma6api.mashupaward.jp/entry/70611/←検索結果がダメダメだったので。 - SAGOOL 検索 API (動画検索) http://ma6api.mashupaward.jp/entry/70687/
- Yahoo! カテゴリ http://ma6api.mashupaward.jp/entry/70696/
- 勝間系
- tappy
- web R25 Webサービス http://ma6api.mashupaward.jp/entry/71599/
- じゃらんWebサービス http://ma6api.mashupaward.jp/entry/71475/
- cory
- ホットペッパー http://ma6api.mashupaward.jp/entry/71473/
- ぐるなびWeb サービス http://ma6api.mashupaward.jp/entry/70584/
- SUNTORY BAR-NAVI http://ma6api.mashupaward.jp/entry/70680/
- eruca.[エルーカ] http://ma6api.mashupaward.jp/entry/70738/
#!/usr/bin/perl
use strict;
use warnings;
package test;
sub test {
my $state = shift;
my $query = shift;
my $ret_obj;
# first ring
if ( $state eq 'all' ) {
my @result = _search1($query);
for ( 0 .. $#result ) {
my $item = $result[$_];
my $next_state = $item;
$ret_obj->[$_]->{title} = "Category_".$item; # title
$ret_obj->[$_]->{image} = "http://www.g-language.org/hoge.png"; # icon (ring itme)
$ret_obj->[$_]->{url} = "reload:test:".$next_state.":".$query; # next query
}
# second ring
} else {
my @result = _search2($state, $query);
for ( 0 .. $#result ) {
my $item = $result[$_];
$ret_obj->[$_]->{title} = $item; # title
$ret_obj->[$_]->{image} = "http://www.g-language.org/hoge.png"; # icon (ring itme)
$ret_obj->[$_]->{url} = "http://hogehogehoge.org/hoge?".$item; # next query
}
}
return $ret_obj;
}
sub _search1 {
my $query = shift;
return qw/ 0 1 2 3 4 5 6 7 /;
}
sub _search2 {
my $staet = shift;
my $query = shift;
return qw/ a b c d e f g /;
}
1;
-
G-language Maps
- Institute for Advanced Biosciences
- E-Cell Simulation Environment
- E.coli multi-omics database
- Database of bacterial replication terminus
Kazuharu Arakawa, Ph.D.
G-language Project Leader Associate Professor
Institute for Advanced Biosciences Keio University
997-0017 Japan Tel/Fax: +81-235-29-0800 gaou@sfc.keio.ac.jp