Skip to content

Commit ddd8cfc

Browse files
author
Dickriven Chellemboyee
committed
add project language api
1 parent 67e3c7e commit ddd8cfc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,17 @@ public function removeLabel($project_id, $name)
496496
));
497497
}
498498

499+
/**
500+
* Get languages used in a project with percentage value.
501+
*
502+
* @param int $project_id
503+
* @return void
504+
*/
505+
public function languages($project_id)
506+
{
507+
return $this->get($this->getProjectPath($project_id, 'languages'));
508+
}
509+
499510
/**
500511
* @param int $project_id
501512
* @param array $params (

0 commit comments

Comments
 (0)