Code Monkey home page Code Monkey logo

govopendata's Introduction

govopendata

This is an open source project of government open data, which is implemented in java , for sake of Exensiability ,Performance and Flexiability ...(instead of ckan)

API

创建机构

	/orgnization/create

参数

	{
		full_name_cn:string, 	/**/
		short_name_cn:string,	/**/
		full_name_en:string,	/**/
		short_name_en:string,	/**/
		org_type:string,		/**/
		landingPage:string		/**/
		

	}

创建机构间关系

	/orgnization/relation/create

参数

	{
		src_org_id:long,		/**/
		dest_org_id:long,		/**/
		relation_type:string	/**/
	}

删除机构间关系

	/orgnization/relation/delete

参数

	{
		src_org_id:long,		/**/
		dest_org_id:long,		/**/
		relation_type:string	/**/
	}

创建机构地址

	/orgnization/location/create

参数

	{
		org_id:long,			 /**/
		longitude:double,		/*经度*/
		latitude:double,		/*纬度*/
		address:string			/**/
	}

更新机构地址

	/orgnization/location/update

参数

	{
		org_id:long,			 /**/
		longitude:double,		/*经度*/
		latitude:double,		/*纬度*/
		address:string			/**/
	}

机构搜粟

根据ID获取机构

	/orgnization/search/getbyid

参数

	{
		org_id:long
	}
	

根据名称精确获取机构

	/orgnization/search/getByName

参数

	{
		name:string
	}

根据中文名称检索机构

	/orgnization/search/searchByCnName

参数

	{
		name_cn:string
	}

根据英文名称检索机构

	/orgnization/search/searchByCnName

参数

	{
		name_en:string
	}

根据所有名称字段名称检索机构

	/orgnization/search/searchByNames

参数

	{
		name:string
	}

根据经纬度位置检索附近的机构

	/orgnization/search/searchByLocation

参数

	{
		longitude:double,		/*经度*/
		latitude:double,		/*纬度*/
		distance:double	/*与经纬度指定位置的最大距离*/
	}

根据地址名称检索机构

	/orgnization/search/searchByAddress

参数

	{
		address:string
	}

根据机构间的关系查找相关机构

	/orgnization/search/searchByLocation

参数

	{
		src_org_id:long,/*起始结点*/
		relation_type:string,/*关系类型名称*/
		step_limit:int /*关系路径最大长度*/
	}

Subject Word API

	/subjectword/create

参数

	{
		uri:string,
		name:string
	}

	/subjectword/update

参数

	{
		subject_word_id:long
	}

	/subjectword/delete

参数

	{
		subject_word_id:string
	}

	/subjectword/relation/create

参数

	{
		src_subject_word_id:long,		/**/
		dest_subject_word_id:long,		/**/
		relation_type:string			/**/
	}

	/subjectword/relation/delete

参数

	{
		src_subject_word_id:long,		/**/
		dest_subject_word_id:long,		/**/
		relation_type:string			/**/
	}
	

Subject Word Search API

	/subjectword/search/getById

参数

	{
		subject_word_id : long
	}

	/subjectword/search/searchByLiteral

参数

	{
		word_literal:string
	}

	/dataset/search/getById

参数

	{
		
	}

	/dataset/search/searchByName

参数

	{
		
	}

	/dataset/search/searchBySubjectWords

参数

	{
		
	}

	/dataset/search/searchByKeyWords

参数

	{
		
	}

	/dataset/search/searchByDescription

参数

	{
		
	}

	/dataset/search/searchByPublisher

参数

	{
		
	}

govopendata's People

Contributors

johannescalvin avatar

Watchers

James Cloos avatar  avatar

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.