标准数据产品API接口
为满足企业用户对中国煤炭资源网(sxcoal.com)的数据集成及便捷使用需求,汾渭数字信息技术有限公司研发了标准数据产品API接口服务。
目前API接口已涵盖了中国煤炭资源网的所有数据及大量线下数据,价格数据包括CCI价格指数、动力煤、冶金煤、无烟块煤、焦炭、煤化工产品、汽运费、国内国际海运费等价格。
行业数据包括产量、供应量、需求量、进出口数据、供需对比、库存、销量、运量、港口数据、国际数据、焦炭数据、电力行业、冶金行业、建材行业、化工行业、汾渭产销存监测数据等全产业链的数据。
通过API接口,合作企业可根据自己订阅的会员级别获取相应的API标准数据产品id及对应数据,目前数据类型为json、excel两种。
0351-8214333 (工作时间 08:30-18:00)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

// Imports

import mongoose, { Schema } from 'mongoose'

 

// Collection name

export const collection = 'Product' |

 

// Schema

const schema = new Schema({

name: {

type: String,

required: true

},

 

description: {

type: String

}

}, {timestamps: true})

 

// Model

export default mongoose.model(collection, schema, collection)// Imports

import mongoose, { Schema } from 'mongoose'

 

// Collection name

export const collection = 'Product' |

 

// Schema

const schema = new Schema({

name: {

type: String,

required: true

},

 

description: {

type: String

}

}, {timestamps: true})

 

// Model

export default mongoose.model(collection, schema, collection)// Imports

import mongoose, { Schema } from 'mongoose'

 

// Collection name

export const collection = 'Product' |

 

// Schema

const schema = new Schema({

name: {

type: String,

required: true

},

 

description: {

type: String

}

}, {timestamps: true})

 

// Model

export default mongoose.model(collection, schema, collection)

// Imports

import mongoose, { Schema } from 'mongoose'

 

// Collection name

export const collection = 'Product' |

 

// Schema

const schema = new Schema({

name: {

type: String,

required: true

},

 

description: {

type: String

}

}, {timestamps: true})

 

// Model

export default mongoose.model(collection, schema, collection)// Imports

import mongoose, { Schema } from 'mongoose'

 

// Collection name

 

 

智能便捷
Smart and convenient
A1
1
A
B
C
D
E
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22